Table of Contents

Class PdfContents

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

Represents an array of PDF content streams of a page.

public sealed class PdfContents : PdfArray
Inheritance
object
PdfContents
Inherited Members
Extension Methods

Constructors

PdfContents(PdfDocument)

Initializes a new instance of the PdfContents class.

Methods

AppendContent()

Appends a new content stream and returns it.

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.

GetEnumerator()

Gets the enumerator.

PrependContent()

Prepends a new content stream and returns it.

ReplaceContent(CSequence)

Replaces the current content of the page with the specified content sequence.

ReplaceContent(byte[])

Replaces the current content of the page with the specified bytes.