DynaPDF Manual - Page 394

Previous Page 393   Index   Next Page 395

Function Reference
Page 394 of 839
GetFieldBackColor
Syntax:
UI32 pdfGetFieldBackColor(
const PPDF* IPDF, // Instance pointer
The function returns the default background color used for newly created interactive form fields.
Note that color values must be defined in the current color space. See SetColorSpace() for further
information.
If the return value is equal NO_COLOR the background is transparent.
#define NO_COLOR 0xFFFFFFF1
Default value = NO_COLOR // Transparent
GetFieldBorderColor
Syntax:
UI32 pdfGetFieldBorderColor(
const PPDF* IPDF) // Instance pointer
The function returns the default border color used for newly created interactive form fields. Note
that color values must be defined in the current color space. See SetColorSpace() for further
information.
If the return value is equal NO_COLOR the border is transparent.
#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.
 

Previous topic: GetErrorMode, GetField (obsolete)

Next topic: GetFieldBorderWidth, GetFieldCalcOrder