
Render HTML content to PDF.
Features
- GrapeCity Documents for HTML - You can now convert HTML content to PDF using GrapeCity Documents for HTML (a utility package for GcPdf and GcImaging). It is a platform independent package that allows you to convert HTML content to PDF documents or images (PNG or JPEG). Key Features:
- Multi-platform package to render HTML content on Windows, macOS or Linux
- Renders HTML content from a page/URI source or HTML string to PDF
- Supports:
- Images
- Hyperlinks
- CSS
- JavaScript
- HTML5
- Page breaks
- SVG
- HTML tables
- Supports PDF settings:
- Default background
- No background
- Page height
- Page width
- IgnoreCSSPageSize
- Landscape
- Scale
- Page ranges to specify which pages should be rendered in the output PDF file
- DisplayHeaderFooter
- Define Header/Footer templates
- Split long HTML content into multiple pages
- Specify page margins
- Import Form Data Submitted from the Client to PDF - GcPdf adds new GcPdfDocument.ImportFormDataFromCollection() method. This method makes it easy to take field names/value lists sent by a form submit and imports it into similarly structured PDF Forms. Almost no code is needed to manipulate that data.