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

DynaPDF Manual - Page 179

Previous Page 178   Index   Next Page 180

Function Reference
Page 179 of 750
ClearErrorLog
Syntax:
void pdfClearErrorLog(
const PPDF* IPDF) // Instance pointer
The clears the error log. The error log can be cleared before another function will be executed. This
makes it easier to determine whether errors occurred during execution of a specific function.
The error log is always cleared when the PDF file in memory is released.
ClearHostFonts
Syntax:
SI32 pdfClearHostFonts(
const PPDF* IPDF) // Instance pointer
This function deletes the array of fonts included in all currently defined font search paths. After the
list was deleted it is still possible to use the fonts which are already in use. The 14 standard fonts are
also available depending on whether the property UseStdFonts (Get/SetUseStdFonts()) is true or
false. If no font was already in use and if the property UseStdFonts is set to false it is not possible to
select a font until a new font search path was added (see AddFontSearchPath()).
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ClipPath
Syntax:
SI32 pdfClipPath(
const PPDF* IPDF,
// Instance pointer
TClippingMode ClipMode, // Clipping mode (Winding or Even-Odd)
TPathFillMode FillMode) // Path fill mode
typedef enum
{
cmEvenOdd, // Use the Even-Odd rule
cmWinding
// Use the nonzero Winding Number rule
}TClippingMode;
typedef enum
{
fmFillNoClose,
// not allowed, path must be closed
fmStrokeNoClose,
// not allowed, path must be closed
fmFillStrokeNoClose,
// not allowed, path must be closed
fmFill,
// fill the path (winding)
fmStroke,
// stroke the path (winding)
fmFillStroke,
// fill and stroke the path (winding)
fmFillEvOdd,
// fill the path (even-odd)
fmFillStrokeEvOdd,
// fill and stroke the path (even-odd)
 

Previous topic: ClearAutoTemplates

Next topic: CloseAndSignFile