Xojo Conferences

DynaPDF Manual - Page 371

Previous Page 370   Index   Next Page 372

Function Reference
Page 371 of 767
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: GetFieldGroupType

Next topic: GetFieldName