Public Member Functions | |
TextLink (TextLink other) | |
Constructor, with another TextLink object. More... | |
int | getEndCharIndex () throws com.foxit.sdk.PDFException |
Get the index of last character of current hyper-link URI, based on PDF page. More... | |
RectFArray | getRects () throws com.foxit.sdk.PDFException |
Get the text rectangles of current text link object. More... | |
int | getStartCharIndex () throws com.foxit.sdk.PDFException |
Get the index of start character of current hyper-link URI, based on PDF page. More... | |
String | getURI () throws com.foxit.sdk.PDFException |
Get URI string. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
A text link is just text content, which represents a hypertext link to a website or a resource on the internet, or an e-mail address.
This class offers functions to get information from the text link.
A TextLink object is retrieved by function PageTextLinks::getTextLink.
com.foxit.sdk.pdf.TextLink.TextLink | ( | TextLink | other | ) |
int com.foxit.sdk.pdf.TextLink.getEndCharIndex | ( | ) | throws com.foxit.sdk.PDFException |
Get the index of last character of current hyper-link URI, based on PDF page.
RectFArray com.foxit.sdk.pdf.TextLink.getRects | ( | ) | throws com.foxit.sdk.PDFException |
Get the text rectangles of current text link object.
int com.foxit.sdk.pdf.TextLink.getStartCharIndex | ( | ) | throws com.foxit.sdk.PDFException |
Get the index of start character of current hyper-link URI, based on PDF page.
String com.foxit.sdk.pdf.TextLink.getURI | ( | ) | throws com.foxit.sdk.PDFException |
Get URI string.
A text link's URI can be a hypertext link to a website or a resource on the internet. It can also be an e-mail address.
boolean com.foxit.sdk.pdf.TextLink.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.