Description
The HtmlToPdf type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| OpenHTML(Stream) |
Open the Stream object with HTML content before converting to the PDF, reforming HTML's tags into PDF format structure.
| |
| OpenHTML(String) |
Open the HTML file or HTML string with tags before converting to the PDF, reforming HTML's tags into PDF format structure.
| |
| OpenHTML(StringBuilder) |
Open the HTML string before converting to the PDF, reforming HTML's tags into PDF format structure.
| |
| OpenHTML(Uri) |
Open the HTML Page from a URL Address before converting to the PDF, reforming HTML's tags into PDF format structure.
| |
| SavePDF()()() |
Convert the HTML to the PDF byte array, reforming HTML's tags into PDF format structure.
| |
| SavePDF(Stream) |
Convert the HTML to the PDF stream, reforming HTML's tags into PDF format structure.
| |
| SavePDF(String) |
Convert the HTML to the PDF file, reforming HTML's tags into PDF format structure.
| |
| SetLicenseCode(String) |
If using PDFDuo .Net Full Version, put your License Code as a parameter.
Otherwise, if you are using Trial, you don't need include this method into your code.
(Free version doesn't have SetLicenseCode method).
| |
| ShowPDF(String) |
Launchs the specified PDF file after successful converting.
| |
| ShowPDF(array<Byte>[]()[], HttpResponse) |
Shows the PDF in the Browser Window without saving it on the disk.
| |
| ToString()()() |
Convert the HTML to the PDF string, reforming HTML's tags into PDF format structure.
|
See Also
DuoDimension Namespace