DynaPDF Manual - Page 221

Previous Page 220   Index   Next Page 222

Function Reference
Page 221 of 860
If the interior should be transparent set FillColor to the special constant NO_COLOR.
Although the line width can be set to any positive floating point value, Adobe’s Acrobat or Reader
restrict the line width to 0 through 12 units. The line width should be restricted in the same way to
avoid issues in Adobe viewer products.
Remarks:
This function is implemented in an Ansi and Unicode compatible variant. Ansi strings are
interpreted in the Windows code page 1252.
Return values:
If the function succeeds the return value is the annotation handle, a value greater or equal zero. If
the function fails, the return value is a negative error code.
ClearAutoTemplates
Syntax:
SI32 pdfClearAutoTemplates(
const PPDF* IPDF) // Instance pointer
This function deletes the array of templates which are automatically added to newly created pages.
See AutoTemplate() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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
 

Previous topic: CheckFieldNames, CircleAnnot

Next topic: ClipPath