wxPdfDocument  1.4.0
Library for generating PDF documents from wxWidgets applications
Loading...
Searching...
No Matches
wxPdfRadioButton Class Reference

#include <pdfform.h>

Inheritance diagram for wxPdfRadioButton:
wxPdfAnnotationWidget wxPdfAnnotationObject wxPdfIndirectObject

Public Member Functions

 wxPdfRadioButton (int objectId, int index, int generationId=0)
 Constructor.
virtual ~wxPdfRadioButton ()
 Destructor.
void SetParent (wxPdfRadioGroup *parent)
 Set parent (radio button group) of this button.
wxPdfRadioGroupGetParent ()
 Get parent (radio button group) of this button.
int GetIndex ()
 Get index of this button within the radio button group.
Public Member Functions inherited from wxPdfAnnotationWidget
 wxPdfAnnotationWidget (int objectId, int generationId=0)
 Constructor.
virtual ~wxPdfAnnotationWidget ()
 Destructor.
void SetName (const wxString &name)
 Set form field name.
wxString GetName ()
 Get form field name.
void SetBorderColour (const wxString &borderColour)
 Set border colour representation of form field.
wxString GetBorderColour ()
 Get border colour representation of form field.
void SetBackgroundColour (const wxString &backgroundColour)
 Set background colour representation of form field.
wxString GetBackgroundColour ()
 Get background colour representation of form field.
void SetTextColour (const wxString &textColour)
 Set text colour representation of form field.
wxString GetTextColour ()
 Get text colour representation of form field.
void SetBorderStyle (const wxString &borderStyle)
 Set border style of form field.
wxString GetBorderStyle ()
 Get border style of form field.
void SetBorderWidth (double borderWidth)
 Set border width of form field.
double GetBorderWidth ()
 Get border width of form field.
Public Member Functions inherited from wxPdfAnnotationObject
 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

Class representing radio button form field (for internal use only)

Constructor & Destructor Documentation

◆ wxPdfRadioButton()

wxPdfRadioButton::wxPdfRadioButton ( int objectId,
int index,
int generationId = 0 )

Constructor.

Parameters
objectIdthe object number
indexbutton index
generationIdthe generation number

◆ ~wxPdfRadioButton()

virtual wxPdfRadioButton::~wxPdfRadioButton ( )
virtual

Destructor.

Member Function Documentation

◆ GetIndex()

int wxPdfRadioButton::GetIndex ( )
inline

Get index of this button within the radio button group.

Returns
Button index

◆ GetParent()

wxPdfRadioGroup * wxPdfRadioButton::GetParent ( )
inline

Get parent (radio button group) of this button.

Returns
Pointer to parent group

◆ SetParent()

void wxPdfRadioButton::SetParent ( wxPdfRadioGroup * parent)
inline

Set parent (radio button group) of this button.

Parameters
parentPointer to parent group

The documentation for this class was generated from the following file:
  • E:/github/wxpdfdoc-current/include/wx/pdfform.h