Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetAnnotFlags

Sets the default flags used for new annotations.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetAnnotFlags"; PDF; Flags )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags The new flags value. 4

Result

Returns OK or error.

Description

Sets the default flags used for new annotations.
The parameter Flags is a bit mask; multiple flags can be set with a binary or operator (e.g. afPrint (4) + afReadOnly (64)). It is also possible to add each flag separately; the previous flags are only deleted if the flag afNone (=0) is used.
FlagDescription
afNoneNo flags are set.
afInvisibleIf 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.

See also SetAnnotFlags function in DynaPDF manual.

See also


DynaPDF.SetAnnotDate   -   DynaPDF.SetAnnotFlagsEx

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins