Method SetData

Namespace
SoftZenPdf.Objects
Assembly
SoftZenPdf.dll

SetData(byte[], bool)

Replaces the data, optionally Flate-compressing it and setting /Filter to match.

public void SetData(byte[] data, bool compress)

Parameters

data byte[]

The unencoded data.

compress bool

Whether to compress with FlateDecode; empty data is never compressed.