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
SystemObject
  SautinSoft.Pdf.ObjectsPdfBasicObject
    SautinSoft.Pdf.ObjectsPdfBasicContainer
      SautinSoft.Pdf.ObjectsPdfStream

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

The PdfStream type exposes the following members.

Properties
 NameDescription
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 propertyIndirect Gets the PdfIndirectObject if this PdfBasicContainer is Value or otherwise.
(Inherited from PdfBasicContainer)
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 7.3.8.2, "Stream Extent", for further discussion.
Public propertyObjectType Gets the Stream value.
(Overrides PdfBasicObjectObjectType)
Top
Methods
 NameDescription
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodOpen Opens this PdfStream so its data can be accessed.
Public methodToString Returns a String that represents this PdfStream instance.
(Overrides PdfBasicObjectToString)
Top
See Also