Foxit PDF SDK
|
Public Member Functions | |
PageTextLinks (PageTextLinks other) | |
Constructor, with another PageTextLinks object. More... | |
PageTextLinks (TextPage page) throws com.foxit.sdk.PDFException | |
Constructor, from a parsed PDF page. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
TextLink | getTextLink (int index) throws com.foxit.sdk.PDFException |
Get a text link object by index. More... | |
int | getTextLinkCount () throws com.foxit.sdk.PDFException |
Get the count of the URL formatted texts, in related PDF page. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
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.
com.foxit.sdk.pdf.PageTextLinks.PageTextLinks | ( | TextPage | page | ) | throws com.foxit.sdk.PDFException |
Constructor, from a parsed PDF page.
[in] | page | A valid PDF page object. This page should has been parsed. |
com.foxit.sdk.pdf.PageTextLinks.PageTextLinks | ( | PageTextLinks | other | ) |
Constructor, with another PageTextLinks object.
[in] | other | Another PageTextLinks object. |
synchronized void com.foxit.sdk.pdf.PageTextLinks.delete | ( | ) |
Clean up related resources immediately.
Reimplemented from com.foxit.sdk.common.Base.
TextLink com.foxit.sdk.pdf.PageTextLinks.getTextLink | ( | int | index | ) | throws com.foxit.sdk.PDFException |
Get a text link object by index.
[in] | index | Index of a text link object. Valid range: from 0 to (count-1). count is returned by function PageTextLinks.getTextLinkCount . |
int com.foxit.sdk.pdf.PageTextLinks.getTextLinkCount | ( | ) | throws com.foxit.sdk.PDFException |
Get the count of the URL formatted texts, in related PDF page.
boolean com.foxit.sdk.pdf.PageTextLinks.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.