DynaPDF Manual - Page 494
Previous Page 493 Index Next Page 495
Function Reference
Page 494 of 839
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)
GetSaveNewImageFormat
Syntax:
SI32 pdfGetSaveNewImageFormat(
const PPDF* IPDF) // Instance pointer
If false (0), images are not downscaled if necessary to achieve the specified resolution (see
SetResolution()).
Default value = 1 (true)
Previous topic: GetPtDataObj, GetRelFileNode
Next topic: GetSeparationInfo, GetSigDict