[]
Sets the image that is displayed by the picture.
public virtual void SetImage(Uri uri, string contentType)
| 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)
| 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)
| 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)
| Type | Name | Description |
|---|---|---|
| Image | image | The image to set. |