DynaPDF Manual - Page 681

Previous Page 680   Index   Next Page 682

Function Reference
Page 681 of 839
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