Rank: Newbie Groups: Member
Joined: 3/3/2016 Posts: 5
|
Hello,
I need to create a PDF file from a webpage, save it, take first half of the generated PDF document and save it as an Image(jpg). Is it possible to achieve invoking HtmlToPdf.ConvertUrl only once? I can use EO.Pdf.HtmlToPdf.Options.PageSize and EO.Pdf.HtmlToPdf.Options.OutputArea before calling ConvertUrl but it cuts both my pdf and image files.
Thank you in advance.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, If you only wish to render a part of the page, you can use VisibleElementsId property. See here for more details: http://www.essentialobjects.com/doc/pdf/htmltopdf/partial_page.aspxThanks!
|