HtmlToPdfConverterSingleton Class
 Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
 Singleton implementation of HTML to PDF converter.
Inheritance Hierarchy
Bytescout.PDF.ConvertersHtmlToPdfConverterSingleton
Namespace:Bytescout.PDF.Converters
Assembly: Bytescout.PDF.Converters (in Bytescout.PDF.Converters.dll) Version: 3.5.1.1204-master
Syntax
The HtmlToPdfConverterSingleton type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| DocumentTitle |  Document title.  | |
| Footer |  Additional text to place at the bottom of every converted page. You can use HTML code in the footer.  | |
| Header |  Additional text to place at the top of every converted page. You can use HTML code in the header.  | |
| IISHosted |  Set to true if you run the conversion in IIS hosted application. (!) You must set this property before first call of ConvertHtmlToPdf(String, String) method.  | |
| Margins |  Margins.  | |
| Orientation |  Page orientation, portrait or landscape.  | |
| PageSize |  Page size.  | |
| RegistrationKey |  Registration key.  | |
| RegistrationName |  Registration name.  | |
| SuppressExceptions |  Gets or sets whether to suppress any internal converter errors and return only true or false from ConvertHtmlToPdf(String, String) method.  | |
| TempFolder |  Gets or sets the temporary folder path. By default the converter uses temporary folder returned byGetTempPath method. (!) You must set this property before first call of ConvertHtmlToPdf(String, String) method.  | |
| ThreadSafe |  Set to true if you run the conversion in multi-threaded application. (!) You must set this property before first call of ConvertHtmlToPdf(String, String) method.  | 
Methods
| Name | Description | |
|---|---|---|
| ConvertHtmlToPdf(Stream, Stream) |  Performs HTML to PDF conversion.  | |
| ConvertHtmlToPdf(String, String) |  Performs HTML to PDF conversion.  | 
See Also