Constructor ImageFrame
ImageFrame(RuntimeImage, Envelope)
Initializes a new instance of the ImageFrame class that contains the image for display at the specified geographic extent.
Declaration
public ImageFrame(RuntimeImage image, Envelope extent)
Parameters
Type | Name | Description |
---|---|---|
RuntimeImage | image | An image to display in the frame. |
Envelope | extent | The geographic extent at which the image is displayed. |
Remarks
If a spatial reference is not defined for the extent, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. Supported image formats are TIFF, GeoTIFF, ICO, BMP, GIF, JPEG, and PNG. Animated GIF is not supported.
Applies to
Platforms and versions
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 |
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.
Declaration
public ImageFrame(RuntimeImage image, Polygon quadrilateral)
Parameters
Type | Name | Description |
---|---|---|
RuntimeImage | image | An image to display in the frame. |
Polygon | quadrilateral | A polygon consisting of four points that represent each corner of the image. |
Remarks
If a spatial reference is not defined for the polygon, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. If the provided polygon does not contain exactly four points, the image frame will fail to load. Supported image formats are TIFF, GeoTIFF, ICO, BMP, GIF, JPEG, and PNG. Animated GIF is not supported.
Applies to
Platforms and versions
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 |
ImageFrame(Uri)
Initializes a new instance of the ImageFrame class containing the image defined by the provided URI.
Declaration
public ImageFrame(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | A URI that identifies a local or online image source. |
Remarks
Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URI can be a local file path or an HTTP path to an image.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.8 - 200.5 |
Xamarin.Android | 100.8 - 100.14 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |
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.
Declaration
public ImageFrame(Uri uri, Envelope extent)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | A URI that identifies a local or online image source. |
Envelope | extent | The geographic extent at which the image is displayed. |
Remarks
If a spatial reference is not defined for the extent, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URI can be a local file path or an HTTP path to an image.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.8 - 200.5 |
Xamarin.Android | 100.8 - 100.14 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |
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.
Declaration
public ImageFrame(Uri uri, Polygon quadrilateral)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | A URI that identifies a local or online image source. |
Polygon | quadrilateral | A polygon consisting of four points that represent each corner of the image. |
Remarks
If a spatial reference is not defined for the polygon, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. If the provided polygon does not contain exactly four points, the image frame will fail to load. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URL can be a local file path or an HTTP path to an image.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.8 - 200.5 |
Xamarin.Android | 100.8 - 100.14 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |