DynaPDF Manual - Page 514

Previous Page 513   Index   Next Page 515

Function Reference
Page 514 of 818
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
The function initializes the variable Stack with default values and prepares the editing of a content
stream. This function must always be called before a content stream can be parsed with the function
GetPageText(). See also GetPageText().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: InitExtGState, InitHeaderFooter

Next topic: InkAnnot


Start Chat