DynaPDF Manual - Page 663

Previous Page 662   Index   Next Page 664

Function Reference
Page 663 of 818
// or set each flag separately, the result is the same
pdfSetAnnotFlags(pdf, afPrint);
pdfSetAnnotFlags(pdf, afReadOnly);
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Flag
Description
afNone
No flags are set.
afInvisible
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.
afHidden
(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.
afPrint
(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.
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.
 

Previous topic: SetAnnotColor, SetAnnotFlags

Next topic: SetAnnotFlagsEx, SetAnnotHighlightMode


Start Chat