Class Render_Api
java.lang.Object
com.ironsoftware.ironpdf.internal.staticapi.Render_Api
The type Render api.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic InternalPdfDocumentrenderHtmlAsPdf(String html) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials, String baseUrl) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, String baseUrl) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, String baseUrl, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlAsPdf(String html, String baseUrl, ChromePdfRenderOptions renderOptions) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlFileAsPdf(String htmlFilePath) Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlFileAsPdf(String htmlFilePath, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlFileAsPdf(String htmlFilePath, ChromePdfRenderOptions renderOptions) Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderHtmlFileAsPdf(String htmlFilePath, String baseUrl, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderRtfAsPdf(String rtfString) Creates a PDF file from RTF string, and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderUrlAsPdf(String url) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderUrlAsPdf(String url, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderUrlAsPdf(String url, ChromePdfRenderOptions renderOptions) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderUrlAsPdf(String url, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.static InternalPdfDocumentrenderZipAsPdf(Path zipFilePath, String mainFile, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) 
- 
Constructor Details- 
Render_Apipublic Render_Api()
 
- 
- 
Method Details- 
renderHtmlFileAsPdfCreates a PDF file from a local Html file, and returns it as aInternalPdfDocument.- Parameters:
- htmlFilePath- Path to a Html to be rendered as a PDF.
- Returns:
- A InternalPdfDocument
- Throws:
- IOException- the io exception
 
- 
renderHtmlFileAsPdfpublic static InternalPdfDocument renderHtmlFileAsPdf(String htmlFilePath, String baseUrl, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) throws IOException Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.- Parameters:
- htmlFilePath- Path to a Html to be rendered as a PDF.
- renderOptions- Rendering options
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
- Throws:
- IOException- the io exception
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials, String baseUrl) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- renderOptions- Rendering options
- loginCredentials- Http login credentials
- baseUrl- Optional. Setting the BaseURL property gives the relative file path or URL context for hyperlinks, images, CSS and JavaScript files.
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlFileAsPdfpublic static InternalPdfDocument renderHtmlFileAsPdf(String htmlFilePath, ChromeHttpLoginCredentials loginCredentials) throws IOException Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.- Parameters:
- htmlFilePath- Path to a Html to be rendered as a PDF.
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
- Throws:
- IOException- the io exception
 
- 
renderHtmlFileAsPdfpublic static InternalPdfDocument renderHtmlFileAsPdf(String htmlFilePath, ChromePdfRenderOptions renderOptions) throws IOException Creates a PDF file from a local Html file, and returns it as aInternalPdfDocument.- Parameters:
- htmlFilePath- Path to a Html to be rendered as a PDF.
- renderOptions- Rendering options
- Returns:
- A InternalPdfDocument
- Throws:
- IOException- the io exception
 
- 
renderUrlAsPdfCreates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.- Parameters:
- url- An absolute (fully formed) Uri. Points to the Html document to be rendered as a PDF.
- Returns:
- A InternalPdfDocument
 
- 
renderUrlAsPdfpublic static InternalPdfDocument renderUrlAsPdf(String url, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.- Parameters:
- url- An absolute (fully formed) Uri. Points to the Html document to be rendered as a PDF.
- renderOptions- Rendering options
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
 
- 
renderUrlAsPdfpublic static InternalPdfDocument renderUrlAsPdf(String url, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.- Parameters:
- url- An absolute (fully formed) Uri. Points to the Html document to be rendered as a PDF.
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
 
- 
renderUrlAsPdfCreates a PDF file from a URL or local file path and returns it as aInternalPdfDocument.- Parameters:
- url- An absolute (fully formed) Uri. Points to the Html document to be rendered as a PDF.
- renderOptions- Rendering options
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfCreates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, String baseUrl, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- baseUrl- Optional. Setting the BaseURL property gives the relative file path or URL context for hyperlinks, images, CSS and JavaScript files.
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, String baseUrl, ChromePdfRenderOptions renderOptions) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- baseUrl- Optional. Setting the BaseURL property gives the relative file path or URL context for hyperlinks, images, CSS and JavaScript files.
- renderOptions- Rendering options
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- renderOptions- Rendering options
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfCreates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- baseUrl- Optional. Setting the BaseURL property gives the relative file path or URL context for hyperlinks, images, CSS and JavaScript files.
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, ChromeHttpLoginCredentials loginCredentials) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- loginCredentials- Http login credentials
- Returns:
- A InternalPdfDocument
 
- 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html, ChromePdfRenderOptions renderOptions) Creates a PDF file from a Html string, and returns it as aInternalPdfDocument.- Parameters:
- html- The Html to be rendered as a PDF.
- renderOptions- Rendering options
- Returns:
- A InternalPdfDocument
 
- 
renderRtfAsPdfCreates a PDF file from RTF string, and returns it as aInternalPdfDocument.- Parameters:
- rtfString- The RTF string to be rendered as a PDF.
- Returns:
- A InternalPdfDocument
 
- 
renderZipAsPdfpublic static InternalPdfDocument renderZipAsPdf(Path zipFilePath, String mainFile, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) throws IOException - Throws:
- IOException
 
 
-