Method CreateThumbnailAsync
CreateThumbnailAsync(Int32, Int32)
Creates a thumbnail image with the specified width and height.
Declaration
public async Task<RuntimeImage> CreateThumbnailAsync(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | Width of the thumbnail. |
System.Int32 | height | Height of the thumbnail. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.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.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |