[]
Initializes a new instance of the WicStream class from a file.
public static WicStream Create(ImagingFactory factory, string fileName, NativeFileAccess fileAccess)
Public Shared Function Create(factory As ImagingFactory, fileName As String, fileAccess As NativeFileAccess) As WicStream
| Type | Name | Description |
|---|---|---|
| ImagingFactory | factory | The factory. |
| string | fileName | Name of the file. |
| NativeFileAccess | fileAccess | The file access. |
| Type | Description |
|---|---|
| WicStream |
public static WicStream Create(ImagingFactory factory, Stream stream)
Public Shared Function Create(factory As ImagingFactory, stream As Stream) As WicStream
| Type | Name | Description |
|---|---|---|
| ImagingFactory | factory | The factory. |
| Stream | stream | The stream. |
| Type | Description |
|---|---|
| WicStream |
Initializes a new instance of the WicStream class from an unmanaged memory through a DataStream.
public static WicStream Create(ImagingFactory factory, DataPointer dataStream)
Public Shared Function Create(factory As ImagingFactory, dataStream As DataPointer) As WicStream
| Type | Name | Description |
|---|---|---|
| ImagingFactory | factory | The factory. |
| DataPointer | dataStream | The unmanaged memory stream. |
| Type | Description |
|---|---|
| WicStream |