![]() |
#include <TextMarkup.h>
Public Member Functions | |
TextMarkup (SDF::Obj d) | |
Creates a TextMarkup annotation and initializes it using given Cos/SDF object. | |
TextMarkup (const Annot &ann) | |
Creates a TextMarkup annotation and initializes it using given annotation object. | |
int | GetQuadPointCount () |
Returns the number of QuadPoints in the QuadPoints array of the TextMarkup annotation (PDF 1.6). | |
QuadPoint | GetQuadPoint (int idx) const |
Returns the QuadPoint located at a certain index of the QuadPoint array. | |
void | SetQuadPoint (int idx, const QuadPoint &qp) |
Sets the QuadPoint to be located at a certain index of the QuadPoint array. |
pdftron::PDF::Annots::TextMarkup::TextMarkup | ( | SDF::Obj | d | ) |
Creates a TextMarkup annotation and initializes it using given Cos/SDF object.
pdftron::PDF::Annots::TextMarkup::TextMarkup | ( | const Annot & | ann | ) | [inline] |
Creates a TextMarkup annotation and initializes it using given annotation object.
int pdftron::PDF::Annots::TextMarkup::GetQuadPointCount | ( | ) |
Returns the number of QuadPoints in the QuadPoints array of the TextMarkup annotation (PDF 1.6).
QuadPoint pdftron::PDF::Annots::TextMarkup::GetQuadPoint | ( | int | idx | ) | const |
Returns the QuadPoint located at a certain index of the QuadPoint array.
(PDF 1.6)
idx | The index where the QuadPoint is located. The index starts at zero and must be less than return value of GetQuadPointCount(). |
void pdftron::PDF::Annots::TextMarkup::SetQuadPoint | ( | int | idx, | |
const QuadPoint & | qp | |||
) |
Sets the QuadPoint to be located at a certain index of the QuadPoint array.
(Optional; PDF 1.6 )
idx | The index where the QuadPoint is to be located (the index is counted from 0). | |
qp | The QuadPoint to be located at a certain index of the QuadPoint array of the TextMarkup annotation. |