PoDoFo 0.9.20
|
#include <PdfContents.h>
Public Member Functions | |
void | Reset (PdfObject *obj=nullptr) |
const PdfObject & | GetObject () const |
PdfObjectStream & | GetStreamForAppending (PdfStreamAppendFlags flags=PdfStreamAppendFlags::None) |
A interface that provides a wrapper around "PDF content" - the instructions that are used to draw on the PDF "canvas".
|
inline |
Get access to the raw contents object. It will either be a PdfObjectStream or a PdfArray
PdfObjectStream & PdfContents::GetStreamForAppending | ( | PdfStreamAppendFlags | flags = PdfStreamAppendFlags::None | ) |
Get access to an object into which you can add contents at the end of the "stream".
void PdfContents::Reset | ( | PdfObject * | obj = nullptr | ) |
Reset the contents internal object
obj | the object to set as the /Contents. Must be a dictionary or an array. if nullptr, a new array object will be created |