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

DynaPDF Manual - Page 444

Previous Page 443   Index   Next Page 445

Function Reference
Page 444 of 750
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.
GetResetAction
Syntax:
LBOOL pdfGetResetAction(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Handle of a ResetFormAction
struct TPDFResetFormAction* Value) // See below
struct TPDFResetFormAction
{
UI32
StructSize;
// Must be set to sizeof(TResetFormAction)
const void** Fields;
// Array of field pointers -> GetFieldEx2().
UI32
FieldsCount;
// Number of fields in the array.
LBOOL
Include;
// If true, the fields in the array must be
// reset. If false, these fields must be
// excluded.
SI32
NextAction;
// -1 or next action handle to be executed if any
TActionType
NextActionType;
// Only set if NextAction is >= 0.
};
The function returns the properties of a Reset Form Action. The member StructSize must be
initialized with the structure size before the function can be called.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetResolution
Syntax:
SI32 pdfGetResolution(
const PPDF* IPDF) // Instance pointer
The function returns the resolution in DPI (Dots per Inch), in which images are stored by DynaPDF.
The value will be ignored if the property SaveNewImageFormat was set to false.
Default value = 150 (DPI)
 

Previous topic: GetRelFileNode

Next topic: GetSigDict