Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 443

Previous Page 442   Index   Next Page 444

Function Reference
Page 443 of 750
GetPtDataArray
Syntax:
LBOOL pdfGetPtDataArray(
const IPTD* PtData, // Pointer of Point Data dictionary
UI32 Index,
// Array index
char** DataType,
// Out -> Data type as string
float** Values,
// Out -> Pointer of float array
UI32* ValCount)
// Out -> Number of values in the array
The function returns a Point Data dictionary. A point data dictionary specifies points in 2D space for
geospatical measures. The parameter DataType specifies the type of points, such as LAT for latitude
in degrees, LON for longitute in degrees, or ALT for altitude in metres.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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.
 

Previous topic: GetPrintSettings

Next topic: GetResolution