wxPdfDocument  0.9.7
Public Member Functions | List of all members
wxPdfAnnotation Class Reference

Class representing text annotations. More...

#include <pdfannotation.h>

Public Member Functions

 wxPdfAnnotation (double x, double y, const wxString &text)
 Constructor for text annotation. More...
 
 wxPdfAnnotation (const wxPdfAnnotation &annotation)
 Copy constructor. More...
 
virtual ~wxPdfAnnotation ()
 Destructor. More...
 
double GetX () const
 Get the X offset of the annotation. More...
 
double GetY () const
 Get the Y offset of the annotation. More...
 
wxString GetText () const
 Get the text of the annotation. More...
 

Detailed Description

Class representing text annotations.

Constructor & Destructor Documentation

◆ 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
xX offset of the annotation
yY offset of the annotation
textannotation text

◆ wxPdfAnnotation() [2/2]

wxPdfAnnotation::wxPdfAnnotation ( const wxPdfAnnotation annotation)

Copy constructor.

◆ ~wxPdfAnnotation()

virtual wxPdfAnnotation::~wxPdfAnnotation ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ GetText()

wxString wxPdfAnnotation::GetText ( ) const
inline

Get the text of the annotation.

◆ GetX()

double wxPdfAnnotation::GetX ( ) const
inline

Get the X offset of the annotation.

◆ GetY()

double wxPdfAnnotation::GetY ( ) const
inline

Get the Y offset of the annotation.


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