|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpdftron.PDF.PDFViewCtrl.Selection
public class PDFViewCtrl.Selection
A class representing the current text selection.
| Method Summary | |
|---|---|
java.lang.String |
getAsHtml()
Get the selected text as html. |
java.lang.String |
getAsUnicode()
Get the selected text as unicode string |
int |
getPageNum()
Get the page number containing the selected text |
double[] |
getQuads()
Returns the list of tight bounding quads in the current text selection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getPageNum()
public double[] getQuads()
quads - - Sets a pointer to an array of vertices representing
a list of bounding quads for the selected text. Each bounding quad is
represented using 8 numbers in an array of doubles. Each two consecutive
values represent the x and y coordinates of a quad vertex and the four
vertices are arranged counter-clockwisely, and the first vertex is NOT
guaranteed to be the lower-left vertex.
public java.lang.String getAsUnicode()
public java.lang.String getAsHtml()
|
© 2002-2011 PDFTron Systems Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||