wxPdfDocument 1.2.0
Public Member Functions | List of all members
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

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::wxPdfAnnotationObject ( int objectId,
int generationId )

Constructor.

Parameters
objectIdthe object number
generationIdthe generation number

◆ ~wxPdfAnnotationObject()

wxPdfAnnotationObject::~wxPdfAnnotationObject ( )

Destructor.

Member Function Documentation

◆ GetHeight()

double wxPdfAnnotationObject::GetHeight ( )
inline

Get the height.

Returns
the height

◆ GetWidth()

double wxPdfAnnotationObject::GetWidth ( )
inline

Get the width.

Returns
the width

◆ GetX()

double wxPdfAnnotationObject::GetX ( )
inline

Get the X offset.

Returns
the x offset

◆ GetY()

double wxPdfAnnotationObject::GetY ( )
inline

Get the Y offset.

Returns
the y offset

◆ SetRectangle()

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: