wxPdfDocument 1.2.0
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.
 
 wxPdfAnnotation (const wxPdfAnnotation &annotation)
 Copy constructor.
 
virtual ~wxPdfAnnotation ()
 Destructor.
 
double GetX () const
 Get the X offset of the annotation.
 
double GetY () const
 Get the Y offset of the annotation.
 
wxString GetText () const
 Get the text of the annotation.
 

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: