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 Summary
Constructors Constructor Description Render_Api() 
- 
Method Summary
All 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
- 
renderHtmlFileAsPdf
public 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
 
- 
renderHtmlFileAsPdf
public 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 optionsloginCredentials- Http login credentials- Returns:
 - A 
InternalPdfDocument - Throws:
 IOException- the io exception
 
- 
renderHtmlAsPdf
public 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 optionsloginCredentials- Http login credentials- Returns:
 - A 
InternalPdfDocument 
 
- 
renderHtmlFileAsPdf
public 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
 
- 
renderHtmlFileAsPdf
public 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
 
- 
renderUrlAsPdf
public 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 
 
- 
renderUrlAsPdf
public 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 optionsloginCredentials- Http login credentials- Returns:
 - A 
InternalPdfDocument 
 
- 
renderUrlAsPdf
public 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 
 
- 
renderUrlAsPdf
public 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 
 
- 
renderHtmlAsPdf
public 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 
 
- 
renderHtmlAsPdf
public 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 
 
- 
renderHtmlAsPdf
public 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 
 
- 
renderRtfAsPdf
public 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 
 
- 
renderZipAsPdf
public static InternalPdfDocument renderZipAsPdf(Path zipFilePath, String mainFile, ChromePdfRenderOptions renderOptions, ChromeHttpLoginCredentials loginCredentials) throws IOException
- Throws:
 IOException
 
 - 
 
 -