Constructor PdfStream

Namespace
SoftZenPdf.Objects
Assembly
SoftZenPdf.dll

PdfStream(byte[]?, PdfDictionary?)

Creates a stream.

public PdfStream(byte[]? data = null, PdfDictionary? dictionary = null)

Parameters

data byte[]

The stream data as stored (already encoded by any filters in the dictionary); empty if null.

dictionary PdfDictionary

The stream dictionary; a new one if null. /Length is set automatically when writing.