DynaPDF Manual - Page 526

Previous Page 525   Index   Next Page 527

Function Reference
Page 526 of 839
Remarks:
Initializing the color management requires a considerable amount of processing time. It is strongly
recommended to use one PDF instance as long as possible so that it must not be initialized again
when another PDF file will be rendered.
The color management can be initialized right after the PDF instance was created.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
InitExtGState
Syntax:
LBOOL pdfInitExtGState(
struct TPDFExtGState* GS) // Structure to be initialized
The function initializes the structure GS with default values. The initialization is strongly
recommended before creating an extended graphics state object. See also CreateExtGState().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
InitHeaderFooter
Syntax:
LBOOL pdfInitHeaderFooter(
struct TPDFHeaderFooter* Init, // Adress of TPDFHeaderFooter structure
struct TPDFHdrFtr* HFArray,
// Array of TPDFHdrFtr structures
UI32 Count)
// Number of values in the array
The function initializes the variables Init and HFArray with default values.
The member StructSize of the structure TPDFHeaderFooter must be initialized to
sizeof(TPDFHeaderFooter) before the function can be called. The structure size is used to identify
different versions of the structure.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: InitColorManagementEx

Next topic: InitOCGContUsage, InitStack