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.

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