DynaPDF Manual - Page 725

Previous Page 724   Index   Next Page 726

Function Reference
Page 725 of 839
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetFieldTextColor
Syntax:
LBOOL pdfSetFieldTextColor(
const PPDF* IPDF, // Instance pointer
UI32 Color)
// Text color defined in the current color space
The function sets the text color which is used for newly created interactive form fields. The color
value must be defined in the current color space. The color space must not be changed before the
fields are created which should use this color.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetFieldToolTip
Syntax:
LBOOL pdfSetFieldToolTip(
const PPDF* IPDF,
// Instance pointer
UI32 AField,
// Field handle
const char* Value) // Tool tip
The function set or changes the tool tip or description string of an interactive form field. The
parameter AField must be a valid field handle.
Remarks:
This function is implemented in an Ansi and Unicode compatible version. The Ansi Version
supports Ansi strings of the code page 1252 only. To create a description string in an arbitrary
encoding convert the string to Unicode with the function ConvToIncode() first and use the Unicode
version to apply the string.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetFillColor
Syntax:
LBOOL pdfSetFillColor(
const PPDF* IPDF, // Instance pointer
UI32 Color)
// Color value defined in the current color space
The function sets the fill color. The parameter Color must be defined in the current color space. For
example, if the current color space is DeviceGray the color value must be in the range 0 to 255.
 

Previous topic: SetFieldOrientation, SetFieldTextAlign

Next topic: SetFillColorEx, SetFillColorF