Class RuntimeImage
An image data container used with several image input and outputs in the API.
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(Int32, Int32, Byte[]) | Initializes a new instance of the RuntimeImage class from a raw 32-bit 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 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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |