﻿<?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 - Export pdf issue from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-pdf-issue-from-webgrid/</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>Export pdf issue from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-pdf-issue-from-webgrid/</link><pubDate>Wed, 07 Oct 2015 04:21:06 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>export</category><category>pdf</category><category>whitespace</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;&lt;strong&gt;OnExport&lt;/strong&gt; server-side event of WebGrid will suits your requirement well. You can always change the ReportPath property and other report-specific property such as paper-type, orientation etc, in the ReportInfo object provided by the event argument in OnExport event.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following snippet code shows how to set Margin and font.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected void WebGrid1_Export(object sender, ISNet.WebUI.WebGrid.ExportEventArgs e)
{
    // set Font size and Font family
    e.ReportInfo.DynFonts = new DynARFonts(new Font("Tahoma", 15), null, null, null, null, null, null, null, null);
        
    // set Margin size
    e.ReportInfo.DynMargins = new Margins { Bottom = 0f, Left = 0f, Right = 0f, Top = 0f };
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This should helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Export pdf issue from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export-pdf-issue-from-webgrid/</link><pubDate>Tue, 06 Oct 2015 15:00:31 GMT</pubDate><dc:creator>rupeshshakti</dc:creator><category>WebGrid</category><category>export</category><category>pdf</category><category>whitespace</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have found so many white space on top, bottom, left and right.&lt;/p&gt;&lt;p&gt;Because of that my text is breaking in 2-3 lines in many columns.&lt;/p&gt;&lt;p&gt;Could you please help me how to remove white space and make column text in one line.&lt;/p&gt;&lt;p&gt;I have attached issue.&lt;/p&gt;&lt;p&gt;Also, can I make change of font size and font family?&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Rupesh Shakti&lt;/p&gt;</description></item></channel></rss>