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

DynaPDF Manual - Page 632

Previous Page 631   Index   Next Page 633

Function Reference
Page 632 of 750
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetExtStrokeColorSpace
Syntax:
LBOOL pdfSetExtStrokeColorSpace(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Handle of an extended color space
The function activates an extended color space for strokes in the graphics state. The stroke color is
initialized to black after the color space has been changed. See also Color Spaces.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetFieldBackColor
Syntax:
LBOOL pdfSetFieldBackColor(
const PPDF* IPDF, // Instance pointer
UI32 AColor)
// Background color
The function sets the background color used for newly created interactive form fields and
annotations. Normal annotations support RGB colors only. Form fields support the color spaces
DeviceRGB, DeviceGray, and DeviceCMYK. The color value must be defined in the current color
space.
If the background should appear transparent set the color to NO_COLOR.
#define NO_COLOR 0xFFFFFFF1
Default value = NO_COLOR
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetFieldBBox
Syntax:
LBOOL pdfSetFieldBBox(
const PPDF* IPDF,
// Instance pointer
UI32 AField,
// Field handle
struct TPDFRect* BBox) // The new bounding box
The function changes the bounding box of a field. The bounding box must be defined in bottom up
coordinates. The Top member of the structure BBox must be larger than Bottom as well as Right must
be larger than the Left member.
 

Previous topic: SetExtGState

Next topic: SetFieldBorderStyle