Click or drag to resize

PdfStream Class

Represents a sequence of bytes. PdfStream consists of a Dictionary and a Length number of bytes that represent, a potentially and usually encoded, stream's data.
Inheritance Hierarchy

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version:
public sealed class PdfStream : PdfBasicContainer

The PdfStream type exposes the following members.

Public propertyDecodedLength

(Optional; PDF 1.5) A non-negative Int32 representing the number of bytes in the decoded (defiltered) PdfStream. It can be used to determine, for example, whether enough disk space is available to write a PdfStream to a file.

This value shall be considered a hint only; for some stream filters, it may not be possible to determine this value precisely.

Public propertyDictionary
Gets the stream's dictionary.
Public propertyFilters
Gets the filters applied to this PdfStream.
Public propertyIsReadOnly
Gets a value indicating whether the PdfBasicContainer and all of its descendants are read-only.
(Inherited from PdfBasicContainer.)
Public propertyLength
(Required) The number of bytes from the beginning of the line following the keyword stream to the last byte just before the keyword endstream. (There may be an additional EOL marker, preceding endstream, that is not included in the count and is not logically part of the stream data.) See, "Stream Extent", for further discussion.
Public propertyObjectType
Gets the Stream value.
(Overrides PdfBasicObjectObjectType.)
Public methodClone(Boolean)
Makes a deep clone of the PdfStream with optionally cloning descendant PdfIndirectObjects.
Public methodClone(FuncPdfIndirectObject, PdfBasicObject)
Makes a deep clone of the PdfStream with parameter that controls the cloning of PdfIndirectObjects.
Public methodStatic memberCreate
Creates a new instance of the PdfStream class.
Public methodEquals
Determines whether the specified Object is equal to this PdfBasicContainer instance.
(Inherited from PdfBasicContainer.)
Public methodGetHashCode
Returns a hash code for this PdfBasicContainer instance.
(Inherited from PdfBasicContainer.)
Public methodOpen
Opens this PdfStream so its data can be accessed.
Public methodToString
Returns a String that represents this PdfStream instance.
(Overrides PdfBasicObjectToString.)
See Also