FileHyperlink

FileHyperlink

Overview

FileHyperlink is a class in Aspose.PDF FOSS for Java. Inherits from: Hyperlink.

Hyperlink that launches an external file when the host paragraph is activated.

This class provides 4 methods for working with FileHyperlink objects in Java programs. Available methods include: FileHyperlink, getPath, setPath. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: path.

Properties

NameTypeAccessDescription
pathStringRead@return the target file path

Methods

SignatureDescription
FileHyperlink()Creates an empty file hyperlink.
FileHyperlink(path: String)Creates a file hyperlink pointing at {@code path}.
getPath()String@return the target file path
setPath(path: String)Sets the file path the link should launch.

See Also

 English