PageHyperlinkArea
Leave feedback
On this page
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:
- Parser.getHyperlinks()
- Parser.getHyperlinks(PageAreaOptions)
- Parser.getHyperlinks(int)
- Parser.getHyperlinks(int, PageAreaOptions)
See the usage examples there.
| Constructor | Description |
|---|---|
| PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle) | Initializes a new instance of the PageHyperlinkArea class. |
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. |
public String getText()
Gets the hyperlink text.
Returns: java.lang.String - A string value that represents hyperlink text.
public String getUrl()
Gets the hyperlink URL.
Returns: java.lang.String - A string value that represents hyperlink URL.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.