Class representing text annotations.
More...
#include <pdfannotation.h>
|
| | wxPdfAnnotation (double x, double y, const wxString &text) |
| | Constructor for text annotation.
|
| |
| | wxPdfAnnotation (const wxPdfAnnotation &annotation) |
| | Copy constructor.
|
| |
|
virtual | ~wxPdfAnnotation () |
| | Destructor.
|
| |
| double | GetX () const |
| | Get the X offset of the annotation.
|
| |
| double | GetY () const |
| | Get the Y offset of the annotation.
|
| |
| wxString | GetText () const |
| | Get the text of the annotation.
|
| |
Class representing text annotations.
◆ wxPdfAnnotation() [1/2]
| wxPdfAnnotation::wxPdfAnnotation |
( |
double |
x, |
|
|
double |
y, |
|
|
const wxString & |
text |
|
) |
| |
Constructor for text annotation.
Use this constructor to create a text annotation.
- Parameters
-
| x | X offset of the annotation |
| y | Y offset of the annotation |
| text | annotation text |
◆ wxPdfAnnotation() [2/2]
Copy constructor.
- Parameters
-
| annotation | The annotation to copy |
◆ GetText()
| wxString wxPdfAnnotation::GetText |
( |
| ) |
const |
|
inline |
Get the text of the annotation.
- Returns
- The annotation text
◆ GetX()
| double wxPdfAnnotation::GetX |
( |
| ) |
const |
|
inline |
Get the X offset of the annotation.
- Returns
- The X offset
◆ GetY()
| double wxPdfAnnotation::GetY |
( |
| ) |
const |
|
inline |
Get the Y offset of the annotation.
- Returns
- The Y offset
The documentation for this class was generated from the following files: