SetImageLimits

SetImageLimits sets the coordinates for raster base maps. It allows to redefine the X and Y minimum and maximum map coordinates (specified as xMin, xMax, yMin, and yMax values).

Syntax

object.SetImageLimits( xMin, xMax, yMin, yMax )

Parameter

Type

Required/

Optional

Default

Description

xMin

Double

Required

This specifies the new minimum X coordinate value.

xMax

Double

Required

This specifies the new maximum X coordinate value

yMin

Double

Required

This specifies the new minimum Y coordinate value

yMax

Double

Required

This specifies the new maximum X coordinate value

Remarks

This can only be used with raster base maps (i.e. [.TIF]).

Example

This example demonstrates how to set the coordinates for raster base maps.

BaseLayer.SetImageLimits(xMin:=0, xMax:=0, yMin:=100, yMax:=100)

Used by: RasterBaseLayer Object