#include <PdfImmediateWriter.h>
A kind of PdfWriter that writes objects with streams immediately to a PdfOutputDevice
◆ PdfImmediateWriter()
Create a new PdfWriter that writes objects with streams immediately to a PdfOutputDevice
This has the advantage that large documents can be created without having to keep the whole document in memory.
- Parameters
-
pDevice | all stream streams are immediately written to this output device while the document is created. |
pVecObjects | a vector of objects containing the objects which are written to disk |
pTrailer | the trailer object |
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 |
◆ GetPdfVersion()
EPdfVersion PoDoFo::PdfImmediateWriter::GetPdfVersion |
( |
| ) |
const |
|
inline |
Get the PDF version of the document The PDF version can only be set in the constructor as it is the first item written to the document on disk
- Returns
- EPdfVersion version of the pdf document
◆ GetWriteMode()
Get the write mode used for writing the PDF
- Returns
- the write mode