DynaPDF Manual - Page 527

Previous Page 526   Index   Next Page 528

Function Reference
Page 527 of 839
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