CosStream Class

Class for a low-level PDF stream object.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.CosObject
    BitMiracle.Docotic.Pdf.CosStream

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public sealed class CosStream : CosObject
VB
Public NotInheritable Class CosStream
	Inherits CosObject

The CosStream type exposes the following members.

Properties

  NameDescription
Public propertyDictionary
Gets the dictionary part of this stream.
Public propertyType
Gets the type of this CosObject.
(Overrides CosObject.Type.)

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetFilters
This method retrieves all filters that should be applied to the encoded stream data to reproduce the original data.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.

See Also