Class RuntimeImage
An image data container used with several image input and outputs in the API.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class RuntimeImage : ILoadable
Constructors
Name | Description |
---|---|
RuntimeImage(Byte[]) | Initializes a new instance of the RuntimeImage class from an encoded image buffer |
RuntimeImage(ReadOnlySpan<Byte>) | Initializes a new instance of the RuntimeImage class from an encoded image buffer |
RuntimeImage(Uri) | Initializes a new instance of the RuntimeImage class from a Uri |
Properties
Name | Description |
---|---|
Height | Gets the height of the image in physical pixels |
LoadError | Gets the System.Exception associated with the last load error. |
LoadStatus | Gets the load status. |
Source | Gets the URI endpoint for this image, or |
Width | Gets the width of the image in physical pixels |
Methods
Name | Description |
---|---|
CancelLoad() | Cancel loading metadata for the object. |
FromStreamAsync(Stream) | Creates a RuntimeImage from a data stream |
GetEncodedBufferAsync() | Returns the image data in the same format that it was created. |
GetEncodedBufferAsync(CancellationToken) | Returns the image data in the same format that it was created. |
GetRawBufferAsync() | Gets the raw 32-bit image buffer in RGBA order. |
LoadAsync() | Load the metadata for the object asynchronously. |
RetryLoadAsync() | Loads or retries loading metadata for the object asynchronously. |
Events
Name | Description |
---|---|
Loaded | Event that is raised when the object is done loading. |
LoadStatusChanged | Event that is raised when the LoadStatus property changes. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |