Table of Contents

Class CosStream

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Class for a low-level PDF stream object.

public sealed class CosStream : CosObject
Inheritance
CosStream
Inherited Members

Remarks

A stream object consists of a dictionary followed by a sequence of bytes. A stream may be of unlimited length. Objects with potentially large amounts of data, such as images, are represented as streams.

An example of a stream object in a PDF file:

<< /Filter /FlateDecode /Length 88 >>
        stream
        ...
        endstream
.

WARNING: Changes to a low-level PDF stream object might break the owning PDF document.

Use high-level Docotic.Pdf API to edit a document. Don't edit a low-level PDF stream object unless you completely understand what you are doing.

The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.

Properties

Dictionary

Gets the dictionary part of this stream.

Type

Gets the type of this CosObject.

Methods

GetFilters()

This method retrieves all filters that should be applied to the encoded stream data to reproduce the original data.