Base class for annotation objects (For internal use only). More...
#include <pdfform.h>
Public Member Functions | |
wxPdfAnnotationObject (int objectId, int generationId) | |
Constructor. | |
~wxPdfAnnotationObject () | |
Destructor. | |
void | SetRectangle (double x, double y, double width, double height) |
Set the associated rectangular area. | |
double | GetX () |
Get the X offset. | |
double | GetY () |
Get the Y offset. | |
double | GetWidth () |
Get the width. | |
double | GetHeight () |
Get the height. |
Base class for annotation objects (For internal use only).
wxPdfAnnotationObject::wxPdfAnnotationObject | ( | int | objectId, | |
int | generationId | |||
) |
Constructor.
objectId | the object number | |
generationId | the generation number |
wxPdfAnnotationObject::~wxPdfAnnotationObject | ( | ) |
Destructor.
double wxPdfAnnotationObject::GetHeight | ( | ) | [inline] |
Get the height.
double wxPdfAnnotationObject::GetWidth | ( | ) | [inline] |
Get the width.
double wxPdfAnnotationObject::GetX | ( | ) | [inline] |
Get the X offset.
double wxPdfAnnotationObject::GetY | ( | ) | [inline] |
Get the Y offset.
void wxPdfAnnotationObject::SetRectangle | ( | double | x, | |
double | y, | |||
double | width, | |||
double | height | |||
) |
Set the associated rectangular area.
x | offset in x direction | |
y | offset in y direction | |
width | the width of the annotation | |
height | the height of the annotation |