Method CreateThumbnailAsync
CreateThumbnailAsync(int, int)
Creates a thumbnail image with the specified width and height.
Declaration
public Task<RuntimeImage> CreateThumbnailAsync(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | Width of the thumbnail. |
| int | height | Height of the thumbnail. |
Returns
| Type | Description |
|---|---|
| Task<RuntimeImage> | A task that represents the asynchronous operation. The task result contains the thumbnail as an RuntimeImage. |
Remarks
This is only applicable if the attachment type is Image.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 300.0 |
| .NET Windows | 200.5 - 300.0 |
| .NET Android | 200.5 - 300.0 |
| .NET iOS | 200.5 - 300.0 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |