Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 375

Previous Page 374   Index   Next Page 376

Function Reference
Page 375 of 766
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)