[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.PdfStreamInfo

Class PdfStreamInfo

Namespace
GrapeCity.Documents.Pdf.Spec
Assembly
GcDocs.Pdf.dll

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.

public class PdfStreamInfo : IDisposable
Inheritance
object
PdfStreamInfo
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Fields

ImageFilterDecodeParams

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

public readonly IPdfDict ImageFilterDecodeParams

Field Value

IPdfDict

ImageFilterName

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

public readonly PdfName ImageFilterName

Field Value

PdfName

Length

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

public readonly long Length

Field Value

long

Properties

Stream

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

public Stream Stream { get; }

Property Value

System.IO.Stream

Methods

DetachStream()

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

public Stream DetachStream()

Returns

System.IO.Stream

The System.IO.Stream owned by this PdfStreamInfo.

Dispose()

Releases all resources used by the PdfStreamInfo.

public void Dispose()

Dispose(bool)

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

protected void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

~PdfStreamInfo()

Finalizer.

protected ~PdfStreamInfo()