SetLimits

SetLimits sets the limits of the map in map units.

Syntax

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

Parameter

Type

Required/

Optional

Default

Description

xMin

Double

Required

 

This specifies the new minimum X value

xMax

Double

Required

 

This specifies the new maximum X value

yMin

Double

Required

 

This specifies the new minimum Y value

yMax

Double

Required

 

This specifies the new maximum Y value

Remarks

To expand a map beyond the initial grid limits, re-grid the original data set with GridData.

Example

This example demonstrates how to set new limits to a map coordinate system.

MapFrame.SetLimits(xMin:=2, xMax:=6, yMin:=3, yMax:=5)

Used by: MapFrame object