Create a new PdfStreamedDocument. All data is written to a file immediately.
|pszFilename||resulting PDF file |
|eVersion||the PDF version of the document to write. The PDF version can only be set in the constructor as it is the first item written to the document on disk. |
|pEncrypt||pointer to an encryption object or NULL. If not NULL the PdfEncrypt object will be copied and used to encrypt the created document. |
|eWriteMode||additional options for writing the pdf |
Definition at line 32 of file PdfStreamedDocument.cpp.
: m_pWriter( NULL ), m_pEncrypt( pEncrypt ), m_bOwnDevice( true )
m_pDevice = new PdfOutputDevice( pszFilename );
Init( m_pDevice, eVersion, pEncrypt, eWriteMode );