|
Rank: Newbie Groups: Member
Joined: 11/17/2012 Posts: 3
|
I have an HtmlToPdf.Options.HeaderHtmlFormat that is 194px high and am displaying gridview data on the rest of the page which wraps over several pages. The first page header is fine as I can control the top of the html page but as the gridview data wraps over many pages, the subsesquent page headers are overlapping the gridview results by about 1/2 inch. How can I place a gap between what the gridview is wrapping over multiple pages and the HtmlToPdf Header ?
Thanks in advance,
Mark
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, You will need to set HtmlToPdf.Options.OutputArea to adjust the output area of the main contents (your Grid). See here for more information: http://www.essentialobjects.com/doc/4/htmltopdf/page_size.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 11/17/2012 Posts: 3
|
Hey Mr eo_support ! Perfect !
a) Thanks for the guidance,b) thanks for the guidance on a Saturday you nutter ! :-)
I'd read that article already but didn't realise that the header would fall outside of the dims set within the output area.
You're a star - I can go for a pint now :-)
|
|
Rank: Newbie Groups: Member
Joined: 11/17/2012 Posts: 3
|
Hi again - just 1 more thing..
Using HtmlToPdf, what is the specific syntax to save the resultant web pdf to a file (code behind) ?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
|