[]
Sets the image that is displayed by the picture.
public virtual void SetImage(Uri uri, string contentType)
Public Overridable Sub SetImage(uri As Uri, contentType As String)
Type | Name | Description |
---|---|---|
Uri | uri | The URI to the image file. |
string | contentType | The content type of the image data. |
Sets the image that is displayed by the picture.
public void SetImage(Stream stream, string contentType)
Public Sub SetImage(stream As Stream, contentType As String)
Type | Name | Description |
---|---|---|
Stream | stream | The stream that contains the image. |
string | contentType | The content type of the image data. |
Sets the image that is displayed by the picture.
public virtual void SetImage(byte[] bytes, string contentType)
Public Overridable Sub SetImage(bytes As Byte(), contentType As String)
Type | Name | Description |
---|---|---|
byte[] | bytes | The byte array of the image. |
string | contentType | The content type of the image data. |
Sets the image that is displayed by the picture.
public void SetImage(Image image)
Public Sub SetImage(image As Image)
Type | Name | Description |
---|---|---|
Image | image | The image to set. |