Method GetPageContent

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

GetPageContent(int)

The page's decoded content-stream bytes. When the page has several content streams they are joined with newlines.

public byte[] GetPageContent(int pageIndex)

Parameters

pageIndex int

Zero-based page index.

Returns

byte[]

Exceptions

ArgumentOutOfRangeException

pageIndex is outside the document's pages.

NotSupportedException

A content stream uses a filter SoftZenPdf cannot decode.