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

DynaPDF Manual - Page 631

Previous Page 630   Index   Next Page 632

Function Reference
Page 631 of 750
when CreateNewPDF() is called, but the error messages reside in memory when CloseFile() or
FreePDF() is called.
The parameter ErrMode is a bit mask; multiple flags can be set with the bitwise or operator, e.g.
(emSyntaxError | emWarning).
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetExtColorSpace
Syntax:
LBOOL pdfSetExtColorSpace(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Handle of an extended color space
The function activates an extended color space in the graphics state. An extended color spaces are
non-device color spaces, such as ICCBased, Lab, Separation, DeviceN, and so on. The current fill and
stroke color are initialized to black after the color space has been changed. Device color spaces can be
set with SetColorSpace(). The fill and stroke color spaces can also be set separately with
SetExtFillColorSpace() and SetExtStrokeColorSpace(). See also Color Spaces.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetExtFillColorSpace
Syntax:
LBOOL pdfSetExtFillColorSpace(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Handle of an extended color space
The function activates an extended color space for fillings in the graphics state. The fill 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.
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.
 

Previous topic: SetErrorMode

Next topic: SetFieldBBox