Welcome Guest Search | Active Topics | Sign In | Register

ASPXToPDF how to Landscape Options
keithlsp
Posted: Tuesday, December 18, 2012 3:20:37 AM
Rank: Member
Groups: Member

Joined: 12/14/2012
Posts: 16
Hi all,

As my PDF have a datagrid which have many column, I want to print the PDF in landscape, anyone can help me? many thanks!!

Can I set like this?
EO.Pdf.HtmlToPdf.Options.PageSize = new SizeF(11f, 8.5f);
eo_support
Posted: Tuesday, December 18, 2012 9:22:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Yes. That's exactly how you set it.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.