Class Render_Api
- java.lang.Object
- 
- com.ironsoftware.ironpdf.internal.staticapi.Render_Api
 
- 
 public final class Render_Api extends Object The type Render api.
- 
- 
Constructor SummaryConstructors Constructor Description Render_Api()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 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, 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)
 
- 
- 
- 
Method Detail- 
renderHtmlFileAsPdfpublic static InternalPdfDocument renderHtmlFileAsPdf(String htmlFilePath) 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.
- Returns:
- A InternalPdfDocument
- Throws:
- IOException- the io exception
 
 - 
renderHtmlFileAsPdfpublic static InternalPdfDocument renderHtmlFileAsPdf(String htmlFilePath, 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) 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
 
 - 
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
 
 - 
renderUrlAsPdfpublic static InternalPdfDocument renderUrlAsPdf(String url) 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.
- 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
 
 - 
renderUrlAsPdfpublic static InternalPdfDocument renderUrlAsPdf(String url, ChromePdfRenderOptions renderOptions) 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
- Returns:
- A InternalPdfDocument
 
 - 
renderHtmlAsPdfpublic static InternalPdfDocument renderHtmlAsPdf(String html) Creates 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, 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
 
 - 
renderRtfAsPdfpublic static InternalPdfDocument renderRtfAsPdf(String rtfString) Creates 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
 
 
- 
 
-