DynaPDF Manual - Page 188

Previous Page 187   Index   Next Page 189

Function Reference
Page 188 of 787
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)
fmFillEvOddNoClose,
// not allowed, path must be closed
fmFillStrokeEvOddNoClose, // not allowed, path must be closed
fmNoFill,
// close but do not paint the path
fmClose
// same as fmNoFill
}TPathFillMode;
 

Previous topic: CircleAnnot, ClearAutoTemplates

Next topic: CloseAndSignFile

Start Chat