DynaPDF Manual - Page 710

Previous Page 709   Index   Next Page 711

Function Reference
Page 710 of 839
SetExtGState
Syntax:
LBOOL pdfSetExtGState(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Handle of an extended graphics state object
The function activates an extended graphics state. Extended graphics states can be used to adjust
certain settings of the graphics state. See CreateExtGState() for further information.
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.
 

Previous topic: SetExtColorSpace, SetExtFillColorSpace

Next topic: SetFieldBBox, SetFieldBorderColor, SetFieldBorderStyle