Rank: Newbie Groups: Member
Joined: 9/23/2014 Posts: 1
|
I'm using EO.PDF version 16.1.17.0 and am currently having an issue with HTML content being clipped when I convert it using HtmlToPdf.ConvertHtml the markup is quite simple, it comes from a template created by users.
Options being set are below
HtmlToPdf.Options.PageSize = PdfPageSizes.A4; HtmlToPdf.Options.JpegQualityLevel = 100; HtmlToPdf.Options.AutoAdjustForDPI = false; HtmlToPdf.Options.OutputArea = new RectangleF(0.75f, 0.77f, 6.76f, 10.12f);
The last line of text is being clipped, all the content is in the document being created (I can copy it from the document).
Is there something I should be looking for in the HTML or some other setting in HtmlToPdf.Options?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, This usually occurs when you have negative margins. When you have negative margins, the document area can be smaller than the actual output and results in output being clipped. You can try to look into the HTML and see if you can find the offending style and remove it, or you can append a blank DIV with a fixed size to the end of the HTML and see if that resolves the issue for you. If none works for you, you can try to isolate the problem into a test project and send the test project to us. See here for more details: http://www.essentialobjects.com/forum/test_project.aspxOnce we have that we will investigate further. Thanks!
|