wxPdfDocument  0.9.3
Public Member Functions
wxPdfAnnotationObject Class Reference

Base class for annotation objects (For internal use only) More...

#include <pdfform.h>

Inheritance diagram for wxPdfAnnotationObject:
wxPdfIndirectObject wxPdfAnnotationWidget wxPdfCheckBox wxPdfComboBox wxPdfPushButton wxPdfRadioButton wxPdfTextField

List of all members.

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.
- Public Member Functions inherited from wxPdfIndirectObject
 wxPdfIndirectObject (int objectId, int generationId)
 Constructor.
virtual ~wxPdfIndirectObject ()
 Destructor.
wxPdfObjectType GetType ()
 Get type of this object.
void SetType (wxPdfObjectType type)
 Set type of object.
int GetObjectId ()
 Get identifier of this object.
int GetGenerationId ()
 Get generation identifier of this object.

Detailed Description

Base class for annotation objects (For internal use only)


Constructor & Destructor Documentation

wxPdfAnnotationObject::wxPdfAnnotationObject ( int  objectId,
int  generationId 
)

Constructor.

Parameters:
objectIdthe object number
generationIdthe generation number
wxPdfAnnotationObject::~wxPdfAnnotationObject ( )

Destructor.


Member Function Documentation

double wxPdfAnnotationObject::GetHeight ( )
inline

Get the height.

Returns:
the height
double wxPdfAnnotationObject::GetWidth ( )
inline

Get the width.

Returns:
the width
double wxPdfAnnotationObject::GetX ( )
inline

Get the X offset.

Returns:
the x offset
double wxPdfAnnotationObject::GetY ( )
inline

Get the Y offset.

Returns:
the y offset
void wxPdfAnnotationObject::SetRectangle ( double  x,
double  y,
double  width,
double  height 
)

Set the associated rectangular area.

Parameters:
xoffset in x direction
yoffset in y direction
widththe width of the annotation
heightthe height of the annotation

The documentation for this class was generated from the following file: