Class

Top Previous Topic Next Topic  Print this topic

Engine represents a single instance of a renderer. To use it, call the Render method as supply your input document.

 

Methods

 

Name

Description

Render

Render an input stream into an output stream.

Render

Render an input stream into an output stream and gets the number of pages..

GetNewMergeContextID

Creates a unique merge context identifier.

GetPageCount

Returns the page count of a document.

detectInputFormat


 

Render

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

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.

 

GetNewMergeContextID

Creates a unique merge context identifier.

 

 

       public static java.lang.String GetNewMergeContextID()

 

 

GetPageCount

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.

 

detectInputFormat

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.