PoDoFo 0.9.20
|
#include <PdfCheckBox.h>
Inherits PoDoFo::PdfToggleButton.
Public Member Functions | |
void | SetAppearanceChecked (const PdfXObject &xobj) |
void | SetAppearanceUnchecked (const PdfXObject &xobj) |
void | SetChecked (bool isChecked) |
bool | IsChecked () const |
A checkbox can be checked or unchecked by the user
bool PdfCheckBox::IsChecked | ( | ) | const |
void PdfCheckBox::SetAppearanceChecked | ( | const PdfXObject & | xobj | ) |
Set the appearance stream which is displayed when the checkbox is checked.
rXObject | an xobject which contains the drawing commands for a checked checkbox |
void PdfCheckBox::SetAppearanceUnchecked | ( | const PdfXObject & | xobj | ) |
Set the appearance stream which is displayed when the checkbox is unchecked.
rXObject | an xobject which contains the drawing commands for an unchecked checkbox |
void PdfCheckBox::SetChecked | ( | bool | isChecked | ) |
Sets the state of this checkbox
isChecked | if true the checkbox will be checked |