Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IRender::initialize ( const P6WCHAR pszMimeType,
P6RENDERCOLDEF pColDefArray,
P6SIZE  cColDefArray,
p6IDataStream pOutStream,
P6RENDERFLAGS  fFlags 
)
pure virtual

Initialize the renderer for use.

This method must be successfully called before calling any other method.

Parameters
pszMimeTypeA pointer to a wide NULL terminated string containing the mime-type that defines the output encoding to be used. Currently the following types are supported:
TypeDescription
text/plainPlain text output in columns with headers (if set) and separators
text/csvPlain text comma separated output. The separator character can be changed by calling the setColSeparator() method before the call to the begin() method.
text/htmlHTML formatted as an HTML table.
pColDefArrayA pointer to an array of P6R::P6RENDERCOLDEF structures defining the columns to be rendered.
cColDefArrayThe number of valid array entries in pColDefArray.