WebHyperlink

Overview

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

Hyperlink to an external URL.

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

Properties

NameTypeAccessDescription
urlStringRead@return the target URL, or {@code null} if not yet set

Methods

SignatureDescription
WebHyperlink()Creates a hyperlink with no URL set (must be supplied later via {@link #setUrl(String)}).
WebHyperlink(url: String)Creates a hyperlink pointing to {@code url}.
getUrl()String@return the target URL, or {@code null} if not yet set
setUrl(url: String)Sets the target URL.

See Also

 English