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

DynaPDF Manual - Page 336

Previous Page 335   Index   Next Page 337

Function Reference
Page 336 of 750
GetCheckBoxCharEx
Syntax:
SI32 pdfGetCheckBoxCharEx(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Handle of a check box
The function returns character index of the font ZapfDingbats that is used to display the on state of
the check box. If the function fails the return value is a negative error code.
GetCheckBoxDefState
Syntax:
SI32 pdfGetCheckBoxDefState(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Handle of a check box
This function returns the default state of a check box, that is 1 == checked or 0 == unchecked. The
parameter AField must be a valid handle of a check box. The default state can differ from the current
visible state of a check box. The default state is used when a form is reset with a Reset Form Action.
Return values:
If the function succeeds the return value is either 0 or 1 depending on the default state. If the
function fails the return value is a negative error code.
GetCMap
Syntax:
LBOOL pdfGetCMap(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// CMap's array index
struct TPDFCMap* CMap) // Structure to be filled with properties
struct TPDFCMap
{
UI32 StructSize;
// Must be set to sizeof(TPDFCMap)!
char* BaseCMap;
// Required base CMap if any
UI32 CIDCount;
// 0 if not set
char* CMapName;
// The CMap name
UI32 CMapType;
// Should be one!
float CMapVersion;
// The CMap version
char* DSCBaseCMap;
// DSC comment
float DSCCMapVersion; // DSC comment
char* DSCResName;
// DSC comment
char* DSCTitle;
// DSC comment
char* FileNameA;
// Either the Ansi or Unicode file name is set
UI16* FileNameW;
// Either the Ansi or Unicode file name is set
char* FilePathA;
// Either the Ansi or Unicode path is set
UI16* FilePathW;
// Either the Ansi or Unicode path is set
 

Previous topic: Check box characters

Next topic: GetCMapCount