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

DynaPDF Manual - Page 260

Previous Page 259   Index   Next Page 261

Function Reference
Page 260 of 750
At time of publication this function can be used on Windows only.
The rasterizer uses the error log of the PDF instance to output warnings and error messages but it
does never raise PDF exceptions. So, an error that occurs during rendering does not affect the PDF
file in memory.
Return values:
When the function succeeds the return value is the pointer of the rasterizer object. If the function fails
the return value is NULL.
SI32 pdfCreateResetAction(
const PPDF* IPDF) // Instance pointer
A reset form action resets all or specific fields of an interactive form to their default values. If only a
few specific fields should be reset then add these fields with AddFieldToFormAction() to the action.
It is possible to exclude or include only specific fields when resetting the form. However, if no
specific fields are added to the action, all fields are reset to their default values, this is the normal
Actions must be added to a PDF object with AddActionToObj().
Return values:
If the function succeeds the return value is the action handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
SI32 pdfCreateSeparationCS(
const PPDF* IPDF)
// Instance pointer
const char* Colorant,
// Colorant name -> required
TExtColorSpace Alternate, // Alternate color space
SI32 Handle,
// Alternate color space handle or -1
UI32 Color)
// Color value defined in the alt. color space
The function creates a Separation color space.
Color output devices produce full color by combining primary or process colorants in varying
amounts. On an additive color device such as a display, the primary colorants consist of red, green,
and blue phosphors; on a subtractive device such as a printer, they typically consist of cyan,
magenta, yellow, and sometimes black inks. In addition, some devices can apply special colorants,

Previous topic: CreateRasterizerEx (Rendering Engine)

Next topic: Encoding of Colorant Names