Class ImageFrame
A frame that, when added to an ImageOverlay, renders an image on top of a scene.
Inheritance
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class ImageFrame : INotifyPropertyChanged, ILoadable
Remarks
An ImageFrame can contain images that do not have georeferencing information. In such cases, location data can be provided to geolocate the image.
Constructors
Name | Description |
---|---|
ImageFrame(RuntimeImage, Envelope) | Initializes a new instance of the ImageFrame class that contains the image for display at the specified geographic extent. |
ImageFrame(RuntimeImage, Polygon) | Initializes a new instance of the ImageFrame class using the image and a four-point polygon representing the corners of an image. |
ImageFrame(Uri) | Initializes a new instance of the ImageFrame class containing the image defined by the provided URI. |
ImageFrame(Uri, Envelope) | Initializes a new instance of the ImageFrame class containing the image identified by the URI for display at the specified geographic extent. |
ImageFrame(Uri, Polygon) | Initializes a new instance of the ImageFrame class using the URI of an image and a four-point polygon representing the corners of an image. |
Properties
Name | Description |
---|---|
Extent | Gets the extent of the image. |
Image | Gets the image contained in the ImageFrame. |
LoadError | Gets the System.Exception associated with the last load error. |
LoadStatus | Gets the load status. |
Quadrilateral | Gets a polygon consisting of four points that represent each corner of the image. |
Uri | Gets the URI of the image. |
Methods
Name | Description |
---|---|
CancelLoad() | Cancel loading metadata for the object. |
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. |
Name | Description |
---|---|
INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 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.8 - 200.5 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |