Show / Hide Table of Contents

# Class StreamAdapterFilter

StreamAdapterFilter filter can be used to turn a readable System.Stream into a PDFNet Filter

##### Inheritance

object
Filter
StreamAdapterFilter

##### Implements

IDisposable

##### Inherited Members

Filter.GetName()
Filter.GetDecodeName()
Filter.Begin()
Filter.Size()
Filter.Consume(int)
Filter.Count()
Filter.SetCount(int)
Filter.SetStreamLength(int)
Filter.AttachFilter(Filter)
Filter.ReleaseAttachedFilter()
Filter.GetAttachedFilter()
Filter.GetSourceFilter()
Filter.Flush()
Filter.FlushAll()
Filter.IsInputFilter()
Filter.CanSeek()
Filter.Seek(int, Filter.ReferencePos)
Filter.Tell()
Filter.CreateInputIterator()
Filter.GetFilePath()
Filter.WriteToFile(string, bool)
Filter.Dispose()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.Filters

###### Assembly: PDFNet.dll

##### Syntax

    public class StreamAdapterFilter : Filter, IDisposable

### Constructors

#### StreamAdapterFilter(Stream)

Constructor for StreamAdapterFilter.

##### Declaration

    public StreamAdapterFilter(Stream input_stream)

##### Parameters

Type | Name | Description
--- | --- | ---
Stream | input_stream | the input data stream. Must be seekable.

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

### Methods

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected override void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

##### Overrides

Filter.Dispose(bool)

### Implements

IDisposable