DynaPDF Manual - Page 666

Previous Page 665   Index   Next Page 667

Function Reference
Page 666 of 839
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ResetAnnotAP
Syntax:
LBOOL pdfResetAnnotAP(
const PPDF* IPDF, // Instance pointer
SI32 Handle)
// Annotation handle or -1
The function forces a rebuild of the appearance stream of the specified annotation. If Handle is set to
-1 all annotation appearances will be rebuild. This function be useful if an imported annotation has
an invalid or empty appearance stream.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ResetEncryptionSettings
Syntax:
LBOOL pdfResetEncryptionSettings(
const PPDF* IPDF) // Instance pointer
The function resets the encryption settings which were imported from an external PDF file so that
the PDF file in memory can be saved unencrypted.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ResetLineDashPattern
Syntax:
LBOOL pdfResetLineDashPattern(
const PPDF* IPDF) // Instance pointer
The function resets a previously defined line dash pattern to its default value (straight line). A line
dash pattern can also be removed or reset with the following function call:
SetLineDashPattern(pdf, NULL, 0);
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: ReplacePageTextEx

Next topic: ResizeBitmap (Rendering Engine), RestoreGraphicState