[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.PdfStreamInfo

PdfStreamInfo Class

Contains information about a decoded PDF Stream. When a PDF stream is decoded all filters (defined by the "Filters" array) are applied, except for image filters (DCTDecode, JBIG2Decode etc) which are processed in a custom way, see GrapeCity.Documents.Pdf.ImageDecoder.ImageDecoder. The ImageFilterName and ImageFilterDecodeParams contain information about the image filter.

Inheritance
PdfStreamInfo
Implements
Namespace: GrapeCity.Documents.Pdf.Spec
Assembly: DS.Documents.Pdf.dll
Syntax
public class PdfStreamInfo : IDisposable
Public Class PdfStreamInfo
    Implements IDisposable

Fields

Name Description
ImageFilterDecodeParams

The "DecodeParms" PDF dictionary containing additional parameters for the image filter.

ImageFilterName

The name of the image filter that should be used to decode the stream.

Length

The length of the PDF stream as specified by the "Length" entry.

Properties

Name Description
Stream

Gets the underlying Stream object. It will be disposed when this object is disposed.

Methods

Name Description
DetachStream()

Detaches the Stream from the PdfStreamInfo so it will not be disposed when the PdfStreamInfo disposed.

Dispose()

Releases all resources used by the PdfStreamInfo.

Dispose(bool)

Releases the unmanaged resources used by the PdfStreamInfo and optionally releases the managed resources.