|
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.
|
|
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.
|
|
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?
|
|
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!
|
|