HtmlToPdfConverterSingleton ClassByteScout PDF SDK
Singleton implementation of HTML to PDF converter.
Inheritance Hierarchy

SystemObject
  Bytescout.PDF.ConvertersHtmlToPdfConverterSingleton

Namespace:  Bytescout.PDF.Converters
Assembly:  Bytescout.PDF.Converters (in Bytescout.PDF.Converters.dll) Version: 1.9.7.331-master
Syntax

public static class HtmlToPdfConverterSingleton

The HtmlToPdfConverterSingleton type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberDocumentTitle
Document title.
Public propertyStatic memberFooter
Additional text to place at the bottom of every converted page. You can use HTML code in the footer.
Public propertyStatic memberHeader
Additional text to place at the top of every converted page. You can use HTML code in the header.
Public propertyStatic memberIISHosted
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.

Public propertyStatic memberMargins
Margins.
Public propertyStatic memberOrientation
Page orientation, portrait or landscape.
Public propertyStatic memberPageSize
Page size.
Public propertyStatic memberSuppressExceptions
Gets or sets whether to suppress any internal converter errors and return only true or false from ConvertHtmlToPdf(String, String) method.
Public propertyStatic memberTempFolder
Gets or sets the temporary folder path. By default the converter uses temporary folder returned by GetTempPath method.

(!) You must set this property before first call of ConvertHtmlToPdf(String, String) method.

Public propertyStatic memberThreadSafe
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.

Top
Methods

  NameDescription
Public methodStatic memberConvertHtmlToPdf(Stream, Stream)
Performs HTML to PDF conversion.
Public methodStatic memberConvertHtmlToPdf(String, String)
Performs HTML to PDF conversion.
Top
See Also

Reference