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

DynaPDF Manual - Page 369

Previous Page 368   Index   Next Page 370

Function Reference
Page 369 of 750
GetFieldTextAlign
Syntax:
SI32 pdfGetFieldTextAlign(
const PPDF* IPDF, // Instance pointer
UI32 AField)
// Text field or button field handle
typedef enum
{
taLeft,
taCenter,
taRight,
taJustify
}TTextAlign;
The function returns the text alignment of a text field or button field.
Return values:
If the function the function succeeds the return value is the text alignment used by the field. If the
function fails the return value is a negative error code.
GetFieldTextColor
Syntax:
UI32 pdfGetFieldTextColor(
const PPDF* IPDF) // Instance pointer
The function returns the default text color used for newly created fields.
GetFieldToolTip
Syntax:
SI32 pdfGetFieldToolTip(
const PPDF* IPDF,
// Instance pointer
UI32 AField,
// Field handle
void* ADDR Value,
// Pointer to value (null-terminated string)
LBOOL ADDR Unicode) // If true, Value is an Unicode string
The function retrieves a pointer to the tool tip string of a specific interactive form field. The
parameter AField must be a valid field handle. The parameter Value gets a pointer to the original
string value, it must not be NULL. Do not change the or free the value. Depending on whether
Unicode is true, Value is pointer to a null-terminated Unicode string.
Return values:
If the function succeeds the return value is 1 and the parameters Value and Unicode are filled with
values. If the function fails the return value is 0.
 

Previous topic: GetFieldOrientation

Next topic: GetFillColor