Engine represents a single instance of a renderer. To use it, the Render method must be called.
Methods
Name |
Description |
Renders an input stream into an output stream. |
|
Creates a unique merge context identifier. |
Render a document using the supplied input and gets the number of pages.
STDMETHOD(render)(VARIANT inputData, VARIANT outputData, VARIANT rp, VARIANT info);
Parameters
inputData
A stream containing an XSL-FO text to render.
outputData
The file path where the renderer should place the output.
rp
A set of rendering parameters that will customize the conversion. The structure is described in detail here.
info
An OutputInformation object. The structure is described in detail here.
Creates a unique merge context identifier.
STDMETHOD(createNewMergeContextID)(BSTR* guidStr);
Parameters
guidStr
Output parameter which will contain the identifier for the newly created merge context.