PageHyperlinkArea

Inheritance: java.lang.Object, com.groupdocs.parser.data.PageArea

public class PageHyperlinkArea extends PageArea

Represents a page area which is used to represent a hyperlink on the page.

An instance of PageHyperlinkArea class is used as return value of the following methods:

See the usage examples there.

Constructors

Constructor Description
PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle) Initializes a new instance of the PageHyperlinkArea class.

Methods

Method Description
getText() Gets the hyperlink text.
getUrl() Gets the hyperlink URL.

PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle)

public PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle)

Initializes a new instance of the PageHyperlinkArea class.

Parameters:

Parameter Type Description
text java.lang.String The hyperlink text.
url java.lang.String The hyperlink URL.
page Page The page that contains the hyperlink.
rectangle Rectangle The rectangular area that contains the hyperlink.

getText()

public String getText()

Gets the hyperlink text.

Returns: java.lang.String - A string value that represents hyperlink text.

getUrl()

public String getUrl()

Gets the hyperlink URL.

Returns: java.lang.String - A string value that represents hyperlink URL.