HtmlToPdf Methods

The HtmlToPdf type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleRenderHtmlAsPdf(String, String, String)
Creates a PDF file from an Html string, and returns it as an IronPdf.PdfDocument
Public methodCode exampleRenderHtmlAsPdf(String, Uri, String)
Creates a PDF file from an Html string, and returns it as an IronPdf.PdfDocument
Public methodRenderHtmlAsPdfAsync
Renders any Html string as PDF asynchronously.
Public methodRenderHTMLFileAsPdf
Renders an HTML file as PDF binary data.
Public methodRenderHTMLFileAsPdfAsync
Renders an HTML file as PDF asynchronously.
Public methodRenderUrlAsPdf(String)
Renders the URL as PDF binary data.
Public methodCode exampleRenderUrlAsPdf(Uri)
Renders the URL as PDF binary data.
Public methodRenderUrlAsPdfAsync
Renders any URL as a PDF asynchronously.
Public methodStatic memberStaticRenderHtmlAsPdf(String, PdfPrintOptions)
Static version of the RenderHtmlAsPdf(String, String, String) function. Renders any Html strings into a PDF document.
Public methodStatic memberStaticRenderHtmlAsPdf(String, String, PdfPrintOptions, String)
Static version of the RenderHtmlAsPdf(String, String, String) function. Renders any Html strings into a PDF document.
Public methodStatic memberStaticRenderHtmlAsPdf(String, Uri, PdfPrintOptions, String)
Static version of the RenderHtmlAsPdf(String, Uri, String) function. Renders any Html strings into a PDF document.
Public methodStatic memberStaticRenderHtmlAsPdfAsync
Static asynchronous method that renders an HTML file as PDF.
Public methodStatic memberStaticRenderHTMLFileAsPdf
Renders an HTML file as PDF binary data.
Public methodStatic memberStaticRenderHTMLFileAsPdfAsync
Static asynchronous method that renders an HTML file as PDF.
Public methodStatic memberStaticRenderUrlAsPdf(String, PdfPrintOptions, HttpLoginCredentials)
Static version of the RenderUrlAsPdf(String) function. Renders all Html and assets at a given Url into a PDF file.
Public methodStatic memberStaticRenderUrlAsPdf(Uri, PdfPrintOptions, HttpLoginCredentials)
Static version of the RenderUrlAsPdf(Uri) function. Renders all Html and assets at a given Url into a PDF file.
Public methodStatic memberStaticRenderUrlAsPdfAsync(String, PdfPrintOptions)
Static asynchronous method that renders a URL as PDF.
Public methodStatic memberStaticRenderUrlAsPdfAsync(Uri, PdfPrintOptions)
Static asynchronous method that renders a URL as PDF.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Install with Nuget