DynaPDF Manual - Page 493
Previous Page 492 Index Next Page 494
Function Reference
Page 493 of 839
GetPtDataObj
Syntax:
LBOOL pdfGetPtDataObj(
const IPTD* PtData, // Pointer of Point Data dictionary
char** Subtype,
// Out -> Should be Cloud
UI32* NumArrays)
// Out -> Number of point data arrays
The function returns the main properties of a Point Data dictionary. A point data dictionary contains
one or more point data arrays. The point data arrays can be accessed with GetPtDataArray().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetRelFileNode
Syntax:
LBOOL pdfGetRelFileNode(
const IRFN* IRF,
// Instance pointer
struct TPDFRelFileNode* F, // see below
LBOOL Decompress)
// Decompress the embedded file?
struct TPDFRelFileNode
{
UI32
StructSize; // Must be set to sizeof(TPDFRelFileNode).
const char*
NameA;
// Name of this file spcification.
const UI16*
NameW;
// Either the Ansi or Unicode name is set.
struct TPDFFileSpec EF;
// Embedded file.
IRFN*
NextNode;
// Next node if any.
};
The function retrieves the properties of a related files node. An embedded file can contain a related
files array that contains additional files related to the base file. For example, the base file could be a
composite image, and the related files array could contain the separations for every color channel.
Related files are stored in as a single linked list. The member NextNode contains a pointer to the next
file, if any. The member StructSize must be set to sizeof(TPDFRelFileNode) before the function can
be called.
The structure TPDFFileSpec is described in detail at GetEmbeddedFile().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Previous topic: GetPrintSettings, GetPtDataArray
Next topic: GetResetAction, GetResolution, GetSaveNewImageFormat