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

PoDoFo::PdfMemDocument::PdfMemDocument ( const char *  pszFilename )

Construct a PdfMemDocument from an existing PDF (on disk)

Parameters:
pszFilenamefilename of the file which is going to be parsed/opened

This might throw a PdfError( ePdfError_InvalidPassword ) exception if a password is required to read this PDF. Call SetPassword with the correct password in this case.

See also:
SetPassword

Definition at line 63 of file PdfMemDocument.cpp.

References Load().

    : PdfDocument(), m_pEncrypt( NULL ), m_pParser( NULL )
{
    this->Load( pszFilename );
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index