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

DynaPDF Manual - Page 370

Previous Page 369   Index   Next Page 371

Function Reference
Page 370 of 750
GetFieldType
Syntax:
SI32 pdfGetFieldType(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Field handle
typedef enum
{
ftButton
= 0,
ftCheckBox
= 1,
ftRadioBtn
= 2,
ftComboBox
= 3,
ftListBox
= 4,
ftText
= 5,
ftSignature = 6,
ftGroup
= 7
}TFieldType;
The function returns the field type. The parameter AField must be a valid field handle.
Return values:
If the function succeeds the return value is the field type (make a typecast to TFieldType to
determine the field type). If the function fails the return value is a negative error code.
GetFillColor
Syntax:
UI32 pdfGetFillColor(
const PPDF* IPDF) // Instance pointer
The function returns the current color used for fillings. The returned color value is not converted to
the active color space. For example, if the color space will be changed with SetColorSpace(), the color
value is still the same. Colors must be correctly defined in the current color space.
Default value = 0 (black)
 

Previous topic: GetFieldToolTip

Next topic: GetFont (obsolete)