Welcome Guest Search | Active Topics | Sign In | Register

Getting cut version of Image from generated Pdf Options
Galaxy Media, LLC
Posted: Thursday, March 3, 2016 2:56:48 PM
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.
eo_support
Posted: Monday, March 7, 2016 12:00:50 PM
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.aspx

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.