[]
Initializes a new instance of GcWicTiffWriter class and sets the output file.
public GcWicTiffWriter(string filePath, ImagingFactory imagingFactory = null)
Public Sub New(filePath As String, Optional imagingFactory As ImagingFactory = Nothing)
| Type | Name | Description |
|---|---|---|
| string | filePath | Full path to the output file. |
| ImagingFactory | imagingFactory | The existing imaging factory, to avoid duplicating factories. |
Initializes a new instance of GcWicTiffWriter class and sets the output stream.
public GcWicTiffWriter(Stream stream, bool ownStream = false, ImagingFactory imagingFactory = null)
Public Sub New(stream As Stream, Optional ownStream As Boolean = False, Optional imagingFactory As ImagingFactory = Nothing)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The output stream. |
| bool | ownStream | Indicates whether the output stream should be disposed together with GcWicTiffWriter. |
| ImagingFactory | imagingFactory | The existing imaging factory, to avoid duplicating factories. |