Table of Contents

Method TryUncompress

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

TryUncompress()

Tries to uncompress the bytes of the stream. If the stream is filtered with the LZWDecode or FlateDecode filter, the stream content is replaced by its uncompressed value and the function returns true. Otherwise, the content remains untouched and the function returns false. The function is useful for analyzing existing PDF files.

public bool TryUncompress()

Returns

bool