Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 603

Previous Page 602   Index   Next Page 604

Function Reference
Page 603 of 750
Flag
Description
afNoZoom
(PDF 1.3) If set, do not scale the annotation’s appearance to match the
magnification of the page. The location of the annotation on the page
(defined by the upper-left corner of its annotation rectangle) remains
fixed, regardless of the page magnification.
afNoRotate
(PDF 1.3) If set, do not rotate the annotation’s appearance to match the
rotation of the page. The upper-left corner of the annotation rectangle
remains in a fixed location on the page, regardless of the page rotation.
afNoView
(PDF 1.3) If set, do not display the annotation on the screen or allow it to
interact with the user. The annotation may be printed (depending on the
setting of the afPrint flag), but should be considered hidden for purposes
of on-screen display and user interaction.
afReadOnly
(PDF 1.3) If set, do not allow the annotation to interact with the user. The
annotation may be displayed or printed (depending on the settings of the
afNoView and afPrint flags), but should not respond to mouse clicks or
change its appearance in response to mouse motions.
afLocked
(PDF 1.4) If set, do not allow the annotation to be deleted or its properties
(including position and size) to be modified by the user. However, this
flag does not restrict changes to the annotation’s contents.
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.
 

Previous topic: SetAnnotFlags

Next topic: SetAnnotIcon