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

int PoDoFo::PdfPage::GetNumAnnots (  ) const [virtual]

Get the number of annotations associated with this page \ returns int number of annotations

Definition at line 292 of file PdfPage.cpp.

References GetAnnotationsArray(), PoDoFo::PdfVariant::GetArray(), and PoDoFo::PdfArray::size().

Referenced by GetField(), and GetNumFields().

{
    PdfObject* pObj = this->GetAnnotationsArray();

    return pObj ? static_cast<int>(pObj->GetArray().size()) : 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index