Engine represents a single instance of a renderer. To use it, call the Render method as supply your input document.
Methods
Name |
Description |
Render an input stream into an output stream. |
|
Render an input stream into an output stream and gets the number of pages.. |
|
Creates a unique merge context identifier. |
|
Returns the page count of a document. |
|
Takes an input stream and a set of parameters and generates output.
public void Render(IDataSource dataSource, java.io.OutputStream outputStream, RenderingParameters parameters)
Parameters
dataSource
The input data source; reading is performed from the current position.
outputStream
The file path where the renderer should place the output.
parameters
A set of parameters that will customize the conversion. The structure is described in detail here.
Render a document using the supplied input and gets the number of pages..
public void Render(IDataSource dataSource, java.io.OutputStream outputStream, RenderingParameters parameters, OutputInformation info)
Parameters
dataSource
The input data source; reading is performed from the current position.
outputStream
The file path where the renderer should place the output.
parameters
A set of parameters that will customize the conversion. The structure is described in detail here.
info
A set of parameters/statistics computed by the engine during the rendering operation.
Creates a unique merge context identifier.
public static java.lang.String GetNewMergeContextID()
Compute and get page count based on input stream
public int GetPageCount(IDataSource dataSource, RenderingParameters parameters)
Parameters
dataSource
The input data source; reading is performed from the current position.
parameters
A set of parameters that will customize the conversion. The structure is described in detail here.
Return Value
The number of pages of the input document given.
Render a document using the supplied input and gets the number of pages..
protected static int detectInputFormat(byte[] chunkBuffer,int bytesRead)
Obsolete Methods
Render
public void Render(java.io.InputStream inputStream, java.io.OutputStream outputStream, RenderingParameters parameters)
Deprecated. Use instead Render.
Render
public void Render(java.io.InputStream inputStream, java.io.OutputStream outputStream, RenderingParameters parameters, OutputInformation info)
Deprecated. Use instead Render.
GetPageCount
public int GetPageCount(java.io.InputStream inputStream, RenderingParameters parameters)
Deprecated. Use instead GetPageCount.