#include <PdfField.h>
Inherits PoDoFo::PdfButton.
List of all members.
Detailed Description
A push button is a button which has no state and value but can toggle actions.
Constructor & Destructor Documentation
PoDoFo::PdfPushButton::PdfPushButton |
( |
PdfAnnotation * |
pWidget, |
|
|
PdfAcroForm * |
pParent | |
|
) |
| | |
PoDoFo::PdfPushButton::PdfPushButton |
( |
PdfPage * |
pPage, |
|
|
const PdfRect & |
rRect, |
|
|
PdfAcroForm * |
pParent | |
|
) |
| | |
PoDoFo::PdfPushButton::PdfPushButton |
( |
const PdfField & |
rhs |
) |
|
Create a PdfPushButton from a PdfField
- Parameters:
-
| rhs | a PdfField that is a push button button |
Raises an error if PdfField::GetType() != ePdfField_PushButton
Member Function Documentation
const PdfString PoDoFo::PdfPushButton::GetAlternateCaption |
( |
|
) |
const |
- Returns:
- the rollover caption of this button
const PdfString PoDoFo::PdfPushButton::GetRolloverCaption |
( |
|
) |
const |
- Returns:
- the rollover caption of this button
void PoDoFo::PdfPushButton::SetAlternateCaption |
( |
const PdfString & |
rsText |
) |
|
Set the alternate caption of this button which is displayed when the button is pressed.
- Parameters:
-
void PoDoFo::PdfPushButton::SetRolloverCaption |
( |
const PdfString & |
rsText |
) |
|
Set the rollover caption of this button which is displayed when the cursor enters the field without the mouse button being pressed
- Parameters:
-