Welcome Guest Search | Active Topics | Sign In | Register

Use css "LESS" in HTML Options
LLENOIR
Posted: Thursday, December 15, 2016 3:18:44 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2016
Posts: 2
Hello,

It's possible to use css "LESS" with the product "HTML to PDF"?

Cordially.
eo_support
Posted: Thursday, December 15, 2016 10:31:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Yes. Our HTML to PDF converter has an embedded browser engine that is based on Chromium, which is the same engine that powers Google Chrome browser. So it can handle almost everything a regular browser can handle.
LLENOIR
Posted: Friday, December 16, 2016 4:52:15 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2016
Posts: 2
Thanks.

I have an another problem when i generate HTML to PDF.

In html, i fixed a size 1123px (height) and 793px (width)

In C# my options are :
options.ZoomLevel = 0.96f;
options.OutputArea = new RectangleF(0f, 0f, 8.5f, 11f);

When i generate HTML to PDL, i have 2 pages, i don't understand why, can you explain me?
eo_support
Posted: Friday, December 16, 2016 1:05:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

The pixel height of the page is inch height * 72 / zoom level = 11 * 72 / 0.96 = 825px in your case. If your height is 1123px, then it will overflow to the second page. Note that PDF always have a DPI of 72 pixel per inch, not the standard 96 value for Windows.

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.