![]() |
#include <PDFView.h>
Public Member Functions | |
int | GetPageNum () const |
int | GetQuads (const double *&quads) const |
Returns the list of tight bounding quads in the current text selection. | |
void | GetAsUnicode (UString &out_str) const |
const char * | GetAsHtml () const |
int pdftron::PDF::PDFView::Selection::GetPageNum | ( | ) | const |
int pdftron::PDF::PDFView::Selection::GetQuads | ( | const double *& | quads | ) | const |
Returns the list of tight bounding quads in the current text selection.
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, |
e.g., (quad[0], quad[1]) is the coordinate of vertex 1, and (quad[4], quad[5]) is the coordinate of vertex 2.
void pdftron::PDF::PDFView::Selection::GetAsUnicode | ( | UString & | out_str | ) | const |
const char* pdftron::PDF::PDFView::Selection::GetAsHtml | ( | ) | const |