[]
Initializes a new image source from an image stream and image type.
If stream is not null, this constructor reads the stream
content and stores it in the image source. The specified type is assigned
even when stream is null.
public ImageSource(Stream stream, ImageType type)
Public Sub New(stream As Stream, type As ImageType)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The image stream. If null, no image content is loaded. |
| ImageType | type | The type of the image. |