Class PdfContents
Represents an array of PDF content streams of a page.
public sealed class PdfContents : PdfArray, ICloneable, IEnumerable<PdfItem>, IEnumerable
- Inheritance
-
PdfContents
- Implements
- Inherited Members
Constructors
PdfContents(PdfDocument)
Initializes a new instance of the PdfContents class.
public PdfContents(PdfDocument document)
Parameters
document
PdfDocumentThe document.
Methods
AppendContent()
Appends a new content stream and returns it.
public PdfContent AppendContent()
Returns
CreateSingleContent()
Creates a single content stream with the bytes from the array of the content streams. This operation does not modify any of the content streams in this array.
public PdfContent CreateSingleContent()
Returns
GetEnumerator()
Gets the enumerator.
public IEnumerator<PdfContent> GetEnumerator()
Returns
PrependContent()
Prepends a new content stream and returns it.
public PdfContent PrependContent()
Returns
ReplaceContent(CSequence)
Replaces the current content of the page with the specified content sequence.
public PdfContent ReplaceContent(CSequence cseq)
Parameters
cseq
CSequence