HideAction

Overview

HideAction is a class in Aspose.Pdf FOSS for Java. Inherits from: PdfAction.

Hide action — shows or hides annotations (ISO 32000-1:2008, §12.6.4.10).

Properties

NameTypeAccessDescription
hidebooleanReadReturns whether this action hides annotations (default {@code true}).
annotationNamesString[]ReadReturns the annotation name(s) targeted by this action.
cOSDictionaryCOSDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
HideAction(dict: COSDictionary)Parses a HideAction from an existing dictionary.
HideAction(annotationName: String, hide: boolean)Creates a HideAction targeting a single annotation by name.
HideAction(annotationNames: String[], hide: boolean)Creates a HideAction targeting multiple annotations by name.
isHide()booleanReturns whether this action hides annotations (default {@code true}).
setHide(hide: boolean)Sets whether this action hides or shows annotations.
getAnnotationNames()String[]Returns the annotation name(s) targeted by this action.
getCOSDictionary()COSDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: COSDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

See Also