LaunchAction

Overview

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

Launch action — launches an application or opens a document (ISO 32000-1:2008, §12.6.4.1).

Properties

NameTypeAccessDescription
fileStringReadReturns the file path or specification.
newWindowbooleanReadReturns whether a new window should be opened.
cOSDictionaryCOSDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
LaunchAction(dict: COSDictionary)Parses a LaunchAction from an existing dictionary.
LaunchAction(filePath: String)Creates a LaunchAction for the given file path.
getFile()StringReturns the file path or specification.
isNewWindow()booleanReturns whether a new window should be opened.
setNewWindow(newWindow: boolean)Sets whether a new window should be opened.
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