Rank: Newbie Groups: Member
Joined: 4/15/2013 Posts: 1
|
hello, in my project we have to print the content of a portion of the screen (some barcodes runtime generated and some text placed between a div ) in a pdf A5 size and rotated of 90 degrees
i used aspxtopdf and EO.Pdf.HtmlToPdf.Options.PageSize = EO.Pdf.PdfPageSizes.A5 but the pdf i got has the right a5 dimensions but the contents is "small" i think the problem is due to the margins how can solve this problem and the 90 degrees rotation?
thanks Luigi
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, The HTML to PDF converter tries to automatically resize the content in order for it to fit the page. You can customize that behavior. See more details here: http://www.essentialobjects.com/doc/4/htmltopdf/auto_fit.aspxAs to page rotation, you can call this method to rotate the page AFTER the conversion: http://www.essentialobjects.com/doc/4/eo.pdf.pdfpage.transform.aspxHope this helps. Please feel free to let us know if you still have any questions. Thanks!
|