Companion

object Companion

Functions

Link copied to clipboard

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.

Link copied to clipboard

Creates an ImageFrame using the image and a four-point polygon representing the corners of an image. 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 doesn't 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. This method invokes Bitmap.compress and may be long running.