public class PageHyperlinkArea extends PageArea
An instance of PageHyperlinkArea
class is used as return value of the following methods:
Parser.getHyperlinks()
Parser.getHyperlinks(PageAreaOptions)
Parser.getHyperlinks(int)
Parser.getHyperlinks(int, PageAreaOptions)
See the usage examples there.
Constructor and Description |
---|
PageHyperlinkArea(String text,
String url,
Page page,
Rectangle rectangle)
Initializes a new instance of the
PageHyperlinkArea class. |
Modifier and Type | Method and Description |
---|---|
String |
getText()
Gets the hyperlink text.
|
String |
getUrl()
Gets the hyperlink URL.
|
getPage, getRectangle, setRectangle
public PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle)
PageHyperlinkArea
class.text
- The hyperlink text.url
- The hyperlink URL.page
- The page that contains the hyperlink.rectangle
- The rectangular area that contains the hyperlink.