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

DynaPDF Manual - Page 352

Previous Page 351   Index   Next Page 353

Function Reference
Page 352 of 750
#define NO_COLOR 0xFFFFFFF1
Default value = 0 // Black
GetFieldBorderStyle
Syntax:
SI32 pdfGetBorderStyle(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Field handle
typedef enum
{
bsSolid
= 0, // Solid border
bsBevelled
= 1, // Bevelled border
bsInset
= 2, // Inset border
bsUnderline
= 3, // Underline only
bsDashed
= 4, // Dashed border
bsUserDefined = 5
// Occurs if a field uses an undefined value
}TBorderStyle;
The function returns the border style of a specific form field. The parameter AField must be a valid
field handle. It is also possible to change the style of a specific field, see SetFieldBorderStyle() for
further information.
Return values:
If the function succeeds the return value is the border style, a value greater or equal zero. If the
function fails the return value is a negative error code.
GetFieldBorderWidth
Syntax:
double pdfGetFieldBorderWidth(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Field handle
The function returns the line width of the border of a field. The parameter AField must be a valid
field handle. All field types are supported by this function.
Return values:
If the function succeeds the return value is the line width of the field's border (a value greater or
equal zero). If the function fails the return value is a negative error code.
GetFieldChoiceValue
Syntax:
LBOOL pdfGetFieldChoiceValue(
const PPDF* IPDF,
// Instance pointer
UI32 AField,
// Field handle
UI32 ValIndex,
// Value index
 

Previous topic: GetFieldBorderColor

Next topic: GetFieldColor