DynaPDF Manual - Page 363

Previous Page 362   Index   Next Page 364

Function Reference
Page 363 of 777
#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.
GetFieldCalcOrder
Syntax:
SI32 pdfGetFieldCalcOrder(
const PPDF* IPDF, // Instance pointer
UI32** Out)
// Required -> address of a UI32* variable
 

Previous topic: GetFieldBackColor, GetFieldBorderColor

Next topic: GetFieldChoiceValue, GetFieldColor