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

DynaPDF Manual - Page 365

Previous Page 364   Index   Next Page 366

Function Reference
Page 365 of 750
SI32 pdfGetFieldGroupType(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Field handle
typedef enum
= 0,
= 1,
= 2,
= 3,
= 4,
= 5,
ftSignature = 6,
= 7
The function returns the base type of a field group. A field group is a set of fields which have all the
same name. Such fields contain always the same value with exception of checkboxes. If a field group
consists of checkboxes the export value is also taken into account.
However, a set of fields with identical names are internally stored in a group field. The group type
specifies the field type of the group, e.g. ftText if text fields are stored in the group. A field group
cannot contain different field types. An indication whether a field is a child of a field group is an
empty field name because the field name is taken from the parent group field in this case. Radio
buttons are identically organized, but the field type is ftRadioBtn in this case.
Return values:
If the function succeeds the return value is the field group type that is a value greater or equal zero.
Make a type cast to TFieldType in this case. If the function fails the return value is a negative error

Previous topic: GetFieldFlags

Next topic: GetFieldIndex