DynaPDF Manual - Page 495

Previous Page 494   Index   Next Page 496

Function Reference
Page 495 of 787
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.
InitOCGContUsage
Syntax:
LBOOL pdfInitOCGContUsage(
struct TPDFOCGContUsage* Value) // Address of TPDFOCGContUsage
// structure
The function initializes the TPDFOCGContUsage structure with default values. The member
StructSize must be set to sizeof(TPDFOCGContUsage) before the function can be called. The
structure size is used to identify different versions of the structure.
Once the structure was initialized, one or more members can be changed and passed to
SetOCGContUsage().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
InitStack
Syntax:
LBOOL pdfInitStack(
const PPDF* IPDF,
// Instance pointer
struct TPDFStack* Stack) // Stack variable to be initialized
 

Previous topic: InitColorManagementEx

Next topic: InkAnnot

Start Chat