2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
Adjusting HTML content size in PDF is possible by using WebKitViewPort property of WebKit HTML converter. WebKitViewPort: WebKit viewport size will set to WebKit browser’s window size. If the viewport width is smaller than HTML content width, then WebKit HTML converter use HTML content width as viewport width. WebKit HTML converter automatically calculates the height of HTML based on the viewport width. Default Viewport size: By default, WebKit HTML converter takes the viewport width of the machine where conversion takes place. Assemblies Required
All the above mentioned assemblies can be get by installing the WebKit installer available in the below link. WebKit HTML Converter: https://www.syncfusion.com/downloads/latest-version Code snippet:
Please refer below screen shots of result with different WebKitViewPort size:
Please refer below Output PDF documents with different WebKitViewPort size, http://www.syncfusion.com/downloads/support/directtrac/general/ze/Output1439744559 Working Sample can be downloaded from the below link, http://www.syncfusion.com/downloads/support/directtrac/general/ze/WebKitViewportSample-153430224 |
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.