wxPdfDocument 0.9.2
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.

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: