|
#include <PDFView.h>
Public Member Functions | |
| int | GetPageNum () |
| |
| int | GetRects (double *&rects) |
| Gets the list of bounding boxes in the current text selection. | |
| void | GetAsUnicode (UString &out_str) |
| |
| const char * | GetAsHtml () |
| |
| int pdftron::PDF::PDFView::Selection::GetPageNum | ( | ) |
| int pdftron::PDF::PDFView::Selection::GetRects | ( | double *& | rects | ) |
Gets the list of bounding boxes in the current text selection.
| rects | - Sets a pointer to an array of points representing a list of bounding boxes for selected text. Each bounding box is represented using 4 numbers in the array of doubles. A first pair of numbers represent the bounding box origin, whereas the second pair represents width and height of the rectangle. |
| void pdftron::PDF::PDFView::Selection::GetAsUnicode | ( | UString & | out_str | ) |
| const char* pdftron::PDF::PDFView::Selection::GetAsHtml | ( | ) |
HTML text will contain styling information such as text color, font size, style etc.