AnnotationFlags

AnnotationFlags

Overview

AnnotationFlags is a enum in Aspose.PDF FOSS for Java.

Annotation flag bits per ISO 32000-1:2008 §12.5.3, Table 165.

This enum provides 3 methods for working with AnnotationFlags objects in Java programs. Available methods include: fromBits, getBit, toBits. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: bit.

Values

ValueDescription
Invisible
Hidden
Print
NoZoom
NoRotate
NoView
ReadOnly
Locked
ToggleNoView
LockedContents

Properties

NameTypeAccessDescription
bitintReadReturns the bit value for this flag (already shifted into position).

Methods

SignatureDescription
getBit()intReturns the bit value for this flag (already shifted into position).
fromBits(bits: int)EnumSet<AnnotationFlags>Decodes a raw {@code /F} bitfield into a typed {@link EnumSet}.
toBits(flags: EnumSet<AnnotationFlags>)intEncodes an {@link EnumSet} of flags into a raw bitfield suitable for
{@code /F}.

See Also