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

DynaPDF Manual - Page 326

Previous Page 325   Index   Next Page 327

Function Reference
Page 326 of 750
SI32 pdfGetAnnotFlags(
const PPDF* IPDF) // Instance pointer
typedef UI32 TAnnotFlags;
#define afNone
0x00000000 // No flags are set
#define afInvisible 0x00000001 // see below
#define afHidden
0x00000002 // see below
#define afPrint
0x00000004 // Annotation is printable
#define afNoZoom
0x00000008 // Do not zoom the annotation
#define afNoRotate
0x00000010 // Do not rotate the annotation
#define afNoView
0x00000020 // see below
#define afReadOnly
0x00000040 // Changes are not allowed
The function returns the default flags used for newly created annotations. The return value is a bit
mask; the flags must be mask out with the bitwise and operator.
The flags are described in detail on the next page.
No flags are set.
If set, do not display the annotation if it does not belong to one of the
standard annotation types and no annotation handler is available.
(PDF 1.2) If set, do not display or print the annotation or allow it to
interact with the user, regardless of its annotation type or whether an
annotation handler is available.
(PDF 1.2) If set, print the annotation when the page is printed. If clear,
never print the annotation, regardless of whether it is displayed on the
screen. This can be useful, for example, for annotations representing
interactive pushbuttons, which would serve no meaningful purpose on
the printed page.
(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.
(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.

Previous topic: Migration states

Next topic: GetAnnotLink