[]
Initializes a new instance of the ImageBrush class.
public ImageBrush(string file)
Public Sub New(file As String)
Type | Name | Description |
---|---|---|
string | file | The full path to image file. |
Initializes a new instance of the ImageBrush class.
public ImageBrush(Stream stream, string contentType = null)
Public Sub New(stream As Stream, Optional contentType As String = Nothing)
Type | Name | Description |
---|---|---|
Stream | stream | The image data. |
string | contentType | The content type of the image data. |