This class represents the HTML to PDF converter and offers the necessary properties and methods to convert HTML documents to PDF.
This class is still present in the API to maintain the backward compatibility and it will be replaced by HtmlToPdfConverter class in the future versions
Inheritance Hierarchy
WinnovativeHtmlToPdfConverter
WinnovativePdfConverter
Namespace: Winnovative
Assembly: wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax
The PdfConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfConverter |
This constructor creates a HTML to PDF converter using the default width and height for the HTML viewer
| |
PdfConverter(Int32) |
This constructor creates a HTML to PDF converter using the given width in pixels and the default height for the HTML viewer
| |
PdfConverter(Int32, Int32) |
This constructor creates a HTML to PDF converter using the given width and height in pixels of the HTML viewer
|
Properties
Name | Description | |
---|---|---|
AuthenticationOptions |
This property can be set with an username and a password in order to authenticate to the web server
before accessing the URL to be converted in HTML to PDF Converter. They can be used for example to resolve the IIS Integrated Windows Authentication
or other types of IIS authentication.
(Inherited from HtmlToPdfConverter.) | |
ClipHtmlView |
If the HTML content is not entirely visible in the HTML viewer of the HTML to PDF converter at the specified width, this property will control whether the
HTML content is clipped or the HTML viewer width is automatically extended to make visible the whole HTML content.
The HTML viewer width is given by the HtmlViewerWidth property.
The default value of this property is false.
(Inherited from HtmlToPdfConverter.) | |
ConversionDelay |
An additional time in seconds to wait for asynchronous items to be completely loaded or for a web page redirect to finish before
starting the rendering in HTML to PDF converter. Default value is 2.
(Inherited from HtmlToPdfConverter.) | |
ConversionSummary |
Offers summary information about the conversion process. After a successful conversion this
property is initialized with an instance of the ConversionSummary class. If the conversion
failed this property returns a null value.
(Inherited from HtmlToPdfConverter.) | |
DefaultHtmlEncoding |
The default HTML document text encoding to be used if there is no charset meta tag defined in the HTML document. By default this property is not set
and an auto determined text encoding will be used by converter
(Inherited from HtmlToPdfConverter.) | |
DownloadAllResources |
Gets or sets a flag indicating if the HTML to PDF converter should try to download all the resources even if this could cause
a slower conversion. The default value is false.
(Inherited from HtmlToPdfConverter.) | |
Enable3DTransformations |
Gets or sets a flag indicating if the accelerated CSS 3D transformations are enabled in the HTML to PDF converter. The default value is false
(Inherited from HtmlToPdfConverter.) | |
EnableAccelerated2DCanvas |
Gets or sets a flag indicating if the accelerated 2D canvas is enabled in the HTML to PDF converter. The default value is false
(Inherited from HtmlToPdfConverter.) | |
EnableHttp2 |
Gets or sets a flag indicating if the HTTP2 protocol is enabled in HTML to PDF converter.
The property has effect only in NE version of the library. The default value is false
(Inherited from HtmlToPdfConverter.) | |
EnablePersistentStorage |
Gets or sets a flag indicating if the persistent local storage is enabled in the HTML to PDF converter. The default value is false
(Inherited from HtmlToPdfConverter.) | |
EnableWebGL |
Gets or sets a flag indicating if the WebGL is enabled in the HTML to PDF converter. The default value is false
(Inherited from HtmlToPdfConverter.) | |
ExtensionsEnabled |
Gets or sets a flag indicating if the HTML viewer extensions are executed during HTML to PDF conversion. The default value is false and no extension is executed.
The Flash player for Mozilla Firefox must be installed in order to execute the flash content from HTML
(Inherited from HtmlToPdfConverter.) | |
HiddenHtmlElementsSelectors |
Gets or sets the CSS selectors of the HTML elements to be excluded from rendering during HTML to PDF conversion
(Inherited from HtmlToPdfConverter.) | |
HtmlDocumentInfo |
Gets an object populated after conversion with the title, keywords, and description of the converted HTML document.
(Inherited from HtmlToPdfConverter.) | |
HtmlElementsMappingOptions |
Gets a reference to the object that can be used to obtain the position in PDF of the HTML elements rendered by the HTML to PDF converter.
In order to retrieve the position in PDF for a list of HTML elements, the HtmlElementSelectors property of
HtmlElementsMappingOptions class must be set with an array of strings containing the CSS selectors of the HTML elements you want to map.
The positions of the HTML elements in the generated PDF document will be returned in the
HtmlElementsMappingResult object after the element was added to the page.
(Inherited from HtmlToPdfConverter.) | |
HtmlViewerHeight |
Gets or sets the HTML viewer height in pixels in the HTML to PDF Converter .
If the specified HTML viewer height is 0 the HTML viewer height will be automatically determined based on the HTML content and
the HTML viewer width in order to make visible the whole HTML content.
The HTML viewer width is given by the HtmlViewerWidth property of the HtmlToPdfConverter class.
If the HTML content is not entirely visible in the HTML viewer at the specified width, the ClipHtmlView property will control whether the
HTML content is clipped or the HTML viewer width is automatically extended to make visible the whole HTML content.
The HTML viewer height can also be specified in the HtmlToPdfConverter class contructor. The default value is 0 to automatically determine
the HTML viewer height based on the HTML content and the HTML viewer width.
(Inherited from HtmlToPdfConverter.) | |
HtmlViewerWidth |
Gets or sets the preferred HTML viewer width in pixels in HTML to PDF converter.
If the HTML content is not entirely visible in the HTML viewer at the specified width, the ClipHtmlView property will control whether the
HTML content is clipped or the HTML viewer width is automatically extended to make visible the whole HTML content.
By default the ClipHtmlView property is false and the HTML viewer is automatically extended in width to make visible the whole HTML content.
The HTML viewer width can also be specified in the HtmlToPdfConverter class constructor. The default value is 1024 pixels.
(Inherited from HtmlToPdfConverter.) | |
HtmlViewerZoom |
Gets or sets the HTML viewer zoom percentage in HTML to PDF Converter similar to zoom level in a browser.
The default value of this property is 100
(Inherited from HtmlToPdfConverter.) | |
HttpPostFields |
Returns the collection of HTTP POST fields to be used when accessing a web page in HTML to PDF converter.
If there are elements in collection then the converter will make a POST request to the web page URL
with the fields from this collection, otherwise it will make a GET request
(Inherited from HtmlToPdfConverter.) | |
HttpRequestCookies |
Gets a collection of custom HTTP cookies to be sent by the HTML to PDF converter to the web server
when the web page to convert and the resources (image, css, etc) referenced by the web page are requested. A cookie is defined by a name and a value pair
that can be added to the collection using the Add(String, String) method of the HttpRequestCookies property.
(Inherited from HtmlToPdfConverter.) | |
HttpRequestHeaders |
Gets a collection of custom HTTP headers to be sent by the HTML to PDF converter to the web server
when the web page is requested from a URL. A custom HTTP header is defined by a name and a value pair
that can be added to the collection using the Add(String, String) method of the HttpRequestHeaders property.
The PersistentHttpRequestHeaders property can be set on true to instruct the converter to send the custom headers
each time an external resource (image, css, etc) referenced by the web page is requested. By default the PersistentHttpRequestHeaders
property is false and the custom headers are not automatically sent to the web server when the web page resources are requested.
The custom HTTP headers can be used to define cookies, authentication options, URL referrer or any other
HTTP header to be sent to the web browser. The preferred method to send cookies is to use the HttpRequestCookies property.
(Inherited from HtmlToPdfConverter.) | |
ImagePartSize |
Gets or sets the maximum height in pixels of an image part in HTML to PDF converter
(Inherited from HtmlToPdfConverter.) | |
ImpersonationOptions |
The impersonation options applied during navigation in HTML to PDF converter
(Inherited from HtmlToPdfConverter.) | |
InitialHtmlViewerHeight |
Gets or sets the initial height in pixels of the HTML viewer in HTML to PDF converter.
This value of this property is ignored if the HtmlViewerHeight property is set
(Inherited from HtmlToPdfConverter.) | |
InterruptSlowJavaScript |
Gets or sets a flag indicating if the slow JavaScript script should be interrupted in HTML to PDF converter. The default value is false and the scripts are not interrupted
(Inherited from HtmlToPdfConverter.) | |
JavaScriptEnabled |
A flag indicating if JavaScript execution is enabled in HTML to PDF converter.
The default is true.
(Inherited from HtmlToPdfConverter.) | |
LicenseKey |
Gets or sets the license key string received from the vendor in HTML to PDF converter.
If this property is null the converter will automatically enter in evaluation mode
and a demo watermark will be displayed on the generated PDF document.
(Inherited from HtmlToPdfConverter.) | |
LocalFilesAccessEnabled |
Gets or sets a flag indicating if the access to local files is enabled in the HTML to PDF converter. The default value is true
(Inherited from HtmlToPdfConverter.) | |
ManualTriggeringConversionDelay |
An additional time in seconds to wait after manual triggering before
starting the rendering in HTML to PDF converter. Default value is 2.
(Inherited from HtmlToPdfConverter.) | |
MaxHtmlViewerHeight |
Gets or sets the maximum height in pixels to be rendered from the HTML document by the HTML to PDF converter.
The default value is 0 and the entire HTML document is rendered
(Inherited from HtmlToPdfConverter.) | |
MediaType |
Gets or sets the media type of the HTML document used by the HTML to PDF converter. The default media type is 'screen'.
If you set this property with 'print' then the CSS properties defined in '@media print' rule will be used to render the document
(Inherited from HtmlToPdfConverter.) | |
MinHtmlViewerHeight |
Gets or sets the minimum height in pixels to be rendered from HTML document by the HTML to PDF converter.
This value of this property is ignored if the HtmlViewerHeight property is set
(Inherited from HtmlToPdfConverter.) | |
NavigationTimeout |
The HTML to PDF converter navigation timeout in seconds. Default value is 60.
(Inherited from HtmlToPdfConverter.) | |
NavigatorUserAgent |
The custom user agent to be used when accessing the HTML page. When this property is null or empty the default user agent is used
(Inherited from HtmlToPdfConverter.) | |
PdfBookmarkOptions |
Gets a reference to the object controlling the bookmarks creation for the rendered PDF document generated by the HTML to PDF converter.
In order to enable creation of bookmarks you have to set the HtmlElementSelectors property of PdfBookmarkOptions class
with the CSS selectors of the HTML elements you want to bookmark.
(Inherited from HtmlToPdfConverter.) | |
PdfDocumentInfo |
Gets a reference to the object to controlling the generated PDF
document information like the document title, author, subject or creation date.
(Inherited from HtmlToPdfConverter.) | |
PdfDocumentOptions |
Gets a reference to the object controlling the conversion process and the generated PDF document properties.
This property can be used to control the PDF document margins, PDF compression level, JPEG compression level,
the PDF page size and orientation, the PDF document headers and footers, conversion of the URLs to links in PDF,
conversion of the HTML links with anchors to internal PDF links, true type fonts embedding, fit width and stretch to fit,
conversion to a single PDF page, append or prepend external PDF documents.
(Inherited from HtmlToPdfConverter.) | |
PdfFooterOptions |
Gets a reference to an object to control the generated PDF document footer options.
The footer is displayed in the generated PDF document only if the ShowFooter property is true.
(Inherited from HtmlToPdfConverter.) | |
PdfFormOptions |
Gets a reference to the object controlling the automatic conversion of a HTML form to a PDF form in the generated PDF document
(Inherited from HtmlToPdfConverter.) | |
PdfHeaderOptions |
Gets a reference to an object to control the generated PDF document header options.
The header is displayed in the generated PDF document only if the ShowHeader property is true.
(Inherited from HtmlToPdfConverter.) | |
PdfSecurityOptions |
Gets a reference to the object to controlling the generated PDF
document security settings like user and owner password, restrict printing
or editing of the generated PDF document.
(Inherited from HtmlToPdfConverter.) | |
PdfViewerPreferences |
Gets a reference to the object controlling how the generated PDF is displayed by a PDF viewer.
(Inherited from HtmlToPdfConverter.) | |
PersistentHttpRequestHeaders |
This property can be set on true to instruct the HTML to PDF converter to send the custom headers defined by the
HttpRequestHeaders property each time an external resource (image, css, etc) referenced by the web page is requested.
The default value of this property is true and the custom headers are automatically sent to the web server when the web page resources are requested.
(Inherited from HtmlToPdfConverter.) | |
PostScriptFontsEnabled |
Gets or sets a flag indicating if the fonts with PostScript outlines are enabled in HTML during the HTML to PDF conversion. The default value is true
(Inherited from HtmlToPdfConverter.) | |
PrerenderEnabled |
Gets or sets a flag indicating if the HTML to PDF converter should perform a pre-rendering. The default value is false
(Inherited from HtmlToPdfConverter.) | |
ProxyOptions |
Gets a reference to an object encapsulating the proxy options used by HTML to PDF converter to access the HTML document to convert.
(Inherited from HtmlToPdfConverter.) | |
RenderedHtmlElementSelector |
Get or set the CSS selector of the HTML element to be rendered to PDF by the HTML to PDF converter. If the selector selects multiple HTML elements,
only the the first one will be converted. The CSS selector is case sensitive. If this property is not set then the entire
HTML document is rendered
(Inherited from HtmlToPdfConverter.) | |
SvgFontsEnabled |
Gets or sets a flag indicating if the SVG fonts are enabled in HTML during the HTML to PDF conversion. The default value is false
(Inherited from HtmlToPdfConverter.) | |
TableOfContentsOptions |
Gets a reference to the object controlling the automatic creation of a table of contents in the generated PDF document
(Inherited from HtmlToPdfConverter.) | |
TriggeringMode |
The conversion triggering mode used by the HTML to PDF converter. The default value is ConversionDelay.
(Inherited from HtmlToPdfConverter.) | |
WebFontsEnabled |
Gets or sets a flag indicating if the Web Fonts are enabled in HTML during the HTML to PDF conversion. The default value is true
(Inherited from HtmlToPdfConverter.) | |
WnvInternalFileName |
Sets the full path of wnvinternal.dat helper file of the HTML to PDF Converter. By default this file is expected to be found
in the same folder with wnvhtmltopdf.dll assembly.
(Inherited from HtmlToPdfConverter.) | |
XPSupplementalLanguages |
A flag in HTML to PDF converter indicating if the supplemental languages (complex script, right-to-left, East Asian) support was enabled in Windows XP Regional and Language Options. The default value is false.
(Inherited from HtmlToPdfConverter.) |
Methods
Name | Description | |
---|---|---|
ConvertHtml(String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertHtml(String, String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and an internal links base URL and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlFile |
Converts a HTML file to PDF and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlFileToFile |
Converts a HTML file to PDF and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlFileToPdfDocumentObject |
Converts a HTML file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations
requiring this type of objects
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlFileToStream |
Converts a HTML file to PDF and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStream(Stream, Encoding, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStream(Stream, Encoding, String, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and an internal links base URL
and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToFile(Stream, Encoding, String, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToFile(Stream, Encoding, String, String, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and an internal links base URL
and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToPdfDocumentObject(Stream, Encoding, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and returns the rendered PDF document
as an object of the Document class that can be further used in other operations
requiring this type of objects.
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToPdfDocumentObject(Stream, Encoding, String, String) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and an internal links and returns the rendered PDF document
as an object of the Document class that can be further used in other operations
requiring this type of objects.
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToStream(Stream, Encoding, String, Stream) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlStreamToStream(Stream, Encoding, String, String, Stream) |
Converts a HTML string read from a stream to PDF using a base URL to resolve external resources and an internal links base URL and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToFile(String, String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToFile(String, String, String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and an internal links base URL and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToPdfDocumentObject(String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and returns the rendered PDF document
as an object of the Document class that can be further used in other operations
requiring this type of objects.
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToPdfDocumentObject(String, String, String) |
Converts a HTML string to PDF using a base URL to resolve external resources and an internal links base URL and returns the rendered PDF document
as an object of the Document class that can be further used in other operations
requiring this type of objects.
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToStream(String, String, Stream) |
Converts a HTML string to PDF using a base URL to resolve external resources and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
ConvertHtmlToStream(String, String, String, Stream) |
Converts a HTML string to PDF using a base URL to resolve external resources and an internal links base URL and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
ConvertUrl |
Converts an URL to PDF and returns the rendered PDF document into a memory buffer
(Inherited from HtmlToPdfConverter.) | |
ConvertUrlToFile |
Converts an URL to PDF and writes the rendered PDF document into a file
(Inherited from HtmlToPdfConverter.) | |
ConvertUrlToPdfDocumentObject |
Converts an URL to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations
requiring this type of objects
(Inherited from HtmlToPdfConverter.) | |
ConvertUrlToStream |
Converts an URL to PDF and writes the rendered PDF document into a stream
(Inherited from HtmlToPdfConverter.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPdfBytesFromHtmlFile |
Converts a HTML file to PDF. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlFile(String) method in the future versions
| |
GetPdfBytesFromHtmlStream(Stream, Encoding) |
Converts a HTML from a stream to PDF. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStream(Stream, Encoding, String) method in the future versions
| |
GetPdfBytesFromHtmlStream(Stream, Encoding, String) |
Converts a HTML from a stream to PDF using a base URL. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStream(Stream, Encoding, String) method in the future versions
| |
GetPdfBytesFromHtmlStream(Stream, Encoding, String, String) |
Converts a HTML from a stream to PDF using a base URL and an internal links base URL.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStream(Stream, Encoding, String, String) method in the future versions
| |
GetPdfBytesFromHtmlString(String) |
Converts a HTML string to PDF. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtml(String, String) method in the future versions
| |
GetPdfBytesFromHtmlString(String, String) |
Converts a HTML string to PDF using a base URL. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtml(String, String) method in the future versions
| |
GetPdfBytesFromHtmlString(String, String, String) |
Converts a HTML string to PDF using a base URL and an internal links base URL.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtml(String, String, String) method in the future versions
| |
GetPdfBytesFromUrl |
Converts an URL to PDF. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertUrl(String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlFile |
Converts a HTML file to a PDF document object.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlFileToPdfDocumentObject(String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlStream(Stream, Encoding) |
Converts a HTML from a stream to PDF document object. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToPdfDocumentObject(Stream, Encoding, String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlStream(Stream, Encoding, String) |
Converts a HTML from a stream to a PDF document object using a base URL. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToPdfDocumentObject(Stream, Encoding, String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlStream(Stream, Encoding, String, String) |
Converts a HTML from a stream to a PDF document object using a base URL and an internal links base URL.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToPdfDocumentObject(Stream, Encoding, String, String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlString(String) |
Converts a HTML string to PDF document object.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToPdfDocumentObject(String, String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlString(String, String) |
Converts a HTML string to a PDF document object using a base URL.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToPdfDocumentObject(String, String) method in the future versions
| |
GetPdfDocumentObjectFromHtmlString(String, String, String) |
Converts a HTML string to a PDF document object using a base URL and an internal links base URL.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToPdfDocumentObject(String, String, String) method in the future versions
| |
GetPdfDocumentObjectFromUrl |
Converts an URL to PDF document object.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertUrlToPdfDocumentObject(String) method in the future versions
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SavePdfFromHtmlFileToFile |
Converts a HTML file to PDF and saves the rendered PDF document into a file. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlFileToFile(String, String) method in the future versions
| |
SavePdfFromHtmlFileToStream |
Converts a HTML file to PDF and saves the rendered PDF document into a stream. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlFileToStream(String, Stream) method in the future versions
| |
SavePdfFromHtmlStreamToFile(Stream, Encoding, String) |
Converts the HTML string read from a stream to PDF and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToFile(Stream, Encoding, String, String) method in the future versions
| |
SavePdfFromHtmlStreamToFile(Stream, Encoding, String, String) |
Converts a HTML string read from a stream to PDF using a base URL and saves the rendered PDF document into a fil.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToFile(Stream, Encoding, String, String) method in the future versions
| |
SavePdfFromHtmlStreamToFile(Stream, Encoding, String, String, String) |
Converts a HTML string read from a stream to PDF using a base URL and an internal links base URL and saves the rendered PDF document into a fil.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToFile(Stream, Encoding, String, String, String) method in the future versions
| |
SavePdfFromHtmlStreamToStream(Stream, Encoding, Stream) |
Converts the HTML string read from a stream to PDF and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToStream(Stream, Encoding, String, Stream) method in the future versions
| |
SavePdfFromHtmlStreamToStream(Stream, Encoding, String, Stream) |
Converts a HTML string read from a stream to PDF using a base URL and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToStream(Stream, Encoding, String, Stream) method in the future versions
| |
SavePdfFromHtmlStreamToStream(Stream, Encoding, String, String, Stream) |
Converts a HTML string read from a stream to PDF using a base URL and an internal links base URL and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlStreamToStream(Stream, Encoding, String, String, Stream) method in the future versions
| |
SavePdfFromHtmlStringToFile(String, String) |
Converts a HTML string to PDF and saves the rendered PDF document into a file. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToFile(String, String, String) method in the future versions
| |
SavePdfFromHtmlStringToFile(String, String, String) |
Converts a HTML string to PDF using a base URL and saves the rendered PDF document into a file.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToFile(String, String, String) method in the future versions
| |
SavePdfFromHtmlStringToFile(String, String, String, String) |
Converts a HTML string to PDF using a base URL and an internal links base URL and saves the rendered PDF document into a file.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToFile(String, String, String, String) method in the future versions
| |
SavePdfFromHtmlStringToStream(String, Stream) |
Converts a HTML string to PDF and saves the rendered PDF document into a stream. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToStream(String, String, Stream) method in the future versions
| |
SavePdfFromHtmlStringToStream(String, String, Stream) |
Converts a HTML string to PDF using a base URL and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToStream(String, String, Stream) method in the future versions
| |
SavePdfFromHtmlStringToStream(String, String, String, Stream) |
Converts a HTML string to PDF using a base URL and an internal links base URL and saves the rendered PDF document into a stream.
This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertHtmlToStream(String, String, String, Stream) method in the future versions
| |
SavePdfFromUrlToFile |
Converts an URL to PDF and saves the rendered PDF document into a file. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertUrlToFile(String, String) method in the future versions
| |
SavePdfFromUrlToStream |
Converts an URL to PDF and saves the rendered PDF document into a stream. This method is still present in the API to maintain the backward compatibility and it will be replaced
by ConvertUrlToStream(String, Stream) method in the future versions
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
AfterRenderPdfPageEvent |
The event is raised right after the HTML to PDF converter finished PDF page rendering. The PDF page configuration like
size, orientation, header or footer is already defined and cannot be changed.
In the handler of this event PDF elements can be added in the foreground of the rendered PDF page.
(Inherited from HtmlToPdfConverter.) | |
BeforeRenderPdfPageEvent |
The event is raised right before the page is rendered by HTML to PDF converter. The PDF page configuration like
size, orientation, header or footer is already defined and cannot be changed.
In the handler of this event PDF elements can be added in the background of the PDF page to be rendered.
(Inherited from HtmlToPdfConverter.) | |
NavigationCompletedEvent |
The event is raised right after the converter finished the navigation and before rendering HTML content to PDF
(Inherited from HtmlToPdfConverter.) | |
PrepareRenderPdfPageEvent |
The event is raised after the HTML to PDF converter created the PDF page and before starting rendering it.
In the handler of this event the PDF page configuration like size, orientation, header or footer can still be changed
before starting rendering.
(Inherited from HtmlToPdfConverter.) |
See Also