[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcTiffReader.-ctor

GcTiffReader Constructor

GcTiffReader(string, int)

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

Declaration
public GcTiffReader(string filePath, int frameIndex = -1)
Public Sub New(filePath As String, Optional frameIndex As Integer = -1)
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.

GcTiffReader(Stream, bool, int)

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

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

The input stream.

bool ownStream

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

int frameIndex

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