Class Ecrion.Ultrascale::Engine

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

Renders an input data source into an output stream.

Render

Renders an input data source into an output stream and gets the number of pages.

GetNewMergeContextID

Creates a unique merge context identifier.

 

Render

Takes an input stream and a set of parameters and generates output.

 

 

public void Render(IDataSource dataSource, Stream 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

Renders a document using the supplied input and gets the number of pages.

 

 

public void Render(IDataSource dataSource, Stream outputStream, RenderingParameters parameters,
                  ref 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

       An OutputInformation object. The structure is described in detail here.

 

Note: you can also get the number of pages in a document without actually rendering it. To do that, set ComputePageCountOnly in RenderingParameters to true.

 

GetNewMergeContextID

Creates a unique merge context identifier.

 

 

public static String GetNewMergeContextID()

 

                       

Obsolete Methods

Render

 

public void Render(Stream inputStream, Stream outputStream, RenderingParameters parameters)

 

Deprecated. Use instead Render.

 

Render

 

public void Render(Stream inputStream, Stream outputStream, RenderingParameters parameters, ref OutputInformation info)

 

Deprecated. Use instead Render.

 

GetPageCount

 

public int GetPageCount(Stream inputStream, RenderingParameters parameters)

 

Deprecated. Use instead Render and set ComputePageCountOnly in RenderingParameters to true.