DynaPDF Manual - Page 664

Previous Page 663   Index   Next Page 665

Function Reference
Page 664 of 818
afToggleNoView
(PDF 1.5) If set, invert the interpretation of the NoView flag for certain
events.
afLockedContents
(PDF 1.7) If set, do not allow the contents of the annotation to be
modified by the user. This flag does not restrict deletion of the
annotation or changes to other annotation properties, such as position
and size.
SetAnnotFlagsEx
Syntax:
LBOOL pdfSetAnnotFlagsEx(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Annotation handle
SI32 Flags)
// New Flags
The function sets or changes the flags of an annotation. The available flags are described in detail at
SetAnnotFlags().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotHighlightMode
Syntax:
LBOOL pdfSetAnnotHighlightMode(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Link annotation handle
THighlightMode Mode) // New highlight mode
The function sets or changes the highlight mode of a link annotation. The highlight mode is applied
when clicking with the mouse on the annotation. Only link annotations support a highlight mode.
However, setting the mode to other annotation types causes no error; the value will be ignored
instead.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotColor, SetAnnotFlags

Next topic: SetAnnotIcon, SetAnnotLineEndStyle


Start Chat