Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

PoDoFo::PdfCheckBox::PdfCheckBox ( const PdfField rhs )

Create a PdfCheckBox from a PdfField

rhsa PdfField that is a check box

Raises an error if PdfField::GetType() != ePdfField_CheckBox

Definition at line 556 of file PdfField.cpp.

References PoDoFo::ePdfError_InvalidDataType, PoDoFo::PdfField::GetType(), and PODOFO_RAISE_ERROR_INFO.

    : PdfButton( rhs )
    if( this->GetType() != ePdfField_CheckBox )
        PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidDataType, "Field cannot be converted into a PdfCheckBox" );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index