createWithImageAndExtent

Creates an ImageFrame containing the image for display at the specified geographic extent. 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. This method invokes Bitmap.compress and may be long running.

Return

A new instance of ImageFrame

Since

200.1.0