pdfmm 0.9.20
Public Member Functions | List of all members
mm::PdfContents Class Reference

#include <PdfContents.h>

Public Member Functions

PdfObjectGetObject () const
 
PdfStreamGetStreamForAppending (PdfStreamAppendFlags flags)
 

Detailed Description

A interface that provides a wrapper around "PDF content" - the instructions that are used to draw on the PDF "canvas".

Member Function Documentation

◆ GetObject()

PdfObject & PdfContents::GetObject ( ) const

Get access to the raw contents object. It will either be a PdfStream or a PdfArray

Returns
a contents object

◆ GetStreamForAppending()

PdfStream & PdfContents::GetStreamForAppending ( PdfStreamAppendFlags  flags)

Get access to an object into which you can add contents at the end of the "stream".