[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.GcWicTiffReader.-ctor

GcWicTiffReader Constructor

GcWicTiffReader(string, int, ImagingFactory)

Initializes a new instance of GcWicTiffReader class and assigns the input file.

Declaration
public GcWicTiffReader(string filePath, int frameIndex = -1, ImagingFactory imagingFactory = null)
Public Sub New(filePath As String, Optional frameIndex As Integer = -1, Optional imagingFactory As ImagingFactory = Nothing)
Parameters
Type Name Description
string filePath

Full path to the input .tiff file.

int frameIndex

Index of a frame to read. Pass -1 to get all frames.

ImagingFactory imagingFactory

The existing imaging factory, to avoid duplicating factories.

GcWicTiffReader(Stream, bool, int, ImagingFactory)

Initializes a new instance of GcWicTiffReader class and assigns the input stream.

Declaration
public GcWicTiffReader(Stream stream, bool ownStream = false, int frameIndex = -1, ImagingFactory imagingFactory = null)
Public Sub New(stream As Stream, Optional ownStream As Boolean = False, Optional frameIndex As Integer = -1, Optional imagingFactory As ImagingFactory = Nothing)
Parameters
Type Name Description
Stream stream

The input stream.

bool ownStream

Indicates if the input stream should be closed when the GcWicTiffReader is disposed.

int frameIndex

Index of a frame to read. Pass -1 to get all frames.

ImagingFactory imagingFactory

The existing imaging factory, to avoid duplicating factories.