﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - PDF Export properties</title><link>http://www.intersoftsolutions.com/Community/WebGrid/PDF-Export-properties/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>PDF Export properties</title><link>http://www.intersoftsolutions.com/Community/WebGrid/PDF-Export-properties/</link><pubDate>Thu, 07 Feb 2013 10:45:34 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;Actually you can change A and B.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To change the Header in the Webgrid_Export event add:&lt;/p&gt;&lt;pre&gt; e.Table.Caption = String.Format("Requested Review List{0}{1}", ControlChars.CrLf, Me.searchCriteriaLabel.Text)&lt;/pre&gt;

&lt;p&gt;This will add a 2 line Header to the PDF.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To change the margins add this to the same event as above:&lt;/p&gt;&lt;pre&gt;&lt;pre&gt; With e.ReportInfo
             ' Set up page
            .DynFonts = New DynARFonts(New System.Drawing.Font("Arial", 12), Nothing, New System.Drawing.Font("Arial", 8), Nothing, New System.Drawing.Font("Arial", 7), Nothing, Nothing, Nothing, Nothing)
            .DynPageOrientation = PageOrientation.Landscape     ' Force page into landscape mode
            .DynMargins = New Margins()
            .DynMargins.Top = 0.25
            .DynMargins.Left = 0.5
            .DynMargins.Right = 0.5
            .DynMargins.Bottom = 0.25&lt;/pre&gt;&lt;pre&gt;  End With&lt;/pre&gt;&lt;/pre&gt;</description></item><item><title>PDF Export properties</title><link>http://www.intersoftsolutions.com/Community/WebGrid/PDF-Export-properties/</link><pubDate>Fri, 02 Nov 2012 02:26:03 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Udayan,&lt;/p&gt;&lt;p&gt;Unfortunately, our product doesn't support changes in exported pdf. Maybe if you want, I can put this as feature request and suggest this problem to our developer team. Look forward to hear any feedback from you so I can help you further.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>PDF Export properties</title><link>http://www.intersoftsolutions.com/Community/WebGrid/PDF-Export-properties/</link><pubDate>Thu, 01 Nov 2012 07:45:55 GMT</pubDate><dc:creator>UPratap@dow.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there a way to change the following during the pdf export -&lt;/p&gt;
&lt;p&gt;a) Header Name of the Report.&lt;/p&gt;
&lt;p&gt;b) Margin of the page to print.&lt;/p&gt;
&lt;p&gt;c) Adding sub header to the Report.&lt;/p&gt;
&lt;p&gt;d) Most importantly, adding borders (row lines) between records.&lt;/p&gt;
&lt;p&gt;Please provide some code snippets.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Also, is it possible to show the width of the columns in the exported report exactly like the ones in the webgrid? Otherwise, the exported file looks very cluttered and non-readable.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Udayan&lt;/p&gt;</description></item></channel></rss>