Rank: Newbie Groups: Member
Joined: 6/2/2009 Posts: 6
|
Hi,
I'm trying to dynamically set the page size of a PDF document to match a4 settings. The document in question was saved at a5 dimensions and i need to change it back.
I think I can achieve this using the Page.Size settings but nothing seems to be working could you point me in the right direction please, I'm trying something along the following lines:
docPDF = New EO.Pdf.PdfDocument(strFile) socPDF.Pages(0).Size = ??
I can't workout what needs to go in the above section, I've tried setting it to match New System.Drawing.SizeF(11.0F, 8.5F) (as used in the render object) but it doesn't work, any advice would be greatly appreciated.
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|