Class ImageFrame
A frame that, when added to an ImageOverlay, renders an image on top of a scene.
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 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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.8 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.8 - 100.12 |
| Xamarin.Android | 100.8 - 100.15 |
| Xamarin.iOS | 100.8 - 100.15 |
| UWP | 100.8 - 100.15 |