In a PDF page, some text content may represent a hypertext link to a website or a resource on the internet, or an e-mail address. Class PageTextLinks is used to manage these kind of text content as text links.
- Examples
- /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.
◆ constructor()
| PageTextLinks.constructor |
( |
page |
| ) |
|
Constructor, from a parsed PDF page.
- Parameters
-
| [in] | page | A valid PDF page object. This page should has been parsed. |
◆ GetTextLink()
| PageTextLinks.GetTextLink |
( |
index |
| ) |
|
Get a text link object by index.
- Parameters
-
- Returns
- The specified text link object.
◆ GetTextLinkCount()
| PageTextLinks.GetTextLinkCount |
( |
| ) |
|
Get the count of the URL formatted texts, in related PDF page.
- Returns
- The count of the text links, if returned -1 means error on the construct.
◆ IsEmpty()
| PageTextLinks.IsEmpty |
( |
| ) |
|
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
- Returns
- true means current object is empty, while false means not.