pdfmm 0.9.20
Public Member Functions | List of all members
mm::PdfPushButton Class Reference

#include <PdfPushButton.h>

Inherits mm::PdfButton.

Public Member Functions

void SetRolloverCaption (const PdfString &text)
 
nullable< PdfStringGetRolloverCaption () const
 
void SetAlternateCaption (const PdfString &text)
 
nullable< PdfStringGetAlternateCaption () const
 

Detailed Description

A push button is a button which has no state and value but can toggle actions.

Member Function Documentation

◆ GetAlternateCaption()

nullable< PdfString > PdfPushButton::GetAlternateCaption ( ) const
Returns
the rollover caption of this button

◆ GetRolloverCaption()

nullable< PdfString > PdfPushButton::GetRolloverCaption ( ) const
Returns
the rollover caption of this button

◆ SetAlternateCaption()

void PdfPushButton::SetAlternateCaption ( const PdfString text)

Set the alternate caption of this button which is displayed when the button is pressed.

Parameters
textthe caption

◆ SetRolloverCaption()

void PdfPushButton::SetRolloverCaption ( const PdfString text)

Set the rollover caption of this button which is displayed when the cursor enters the field without the mouse button being pressed

Parameters
textthe caption