Click or drag to resize

HtmlToPdf Methods

The HtmlToPdf type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (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 methodRenderHTMLFileAsPdf
Renders an HTML file as PDF binary data.
Public methodRenderUrlAsPdf(String)
Renders the URL as PDF binary data.
Public methodCode exampleRenderUrlAsPdf(Uri)
Renders the URL as PDF binary data.
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 methodStaticRenderHTMLFileAsPdf
Renders an HTML file as PDF binary data.
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 methodToString (Inherited from Object.)
Top
See Also