xMax Property [Return Value - BaseLayer, MapFrame]

xMax returns the maximum X coordinate of the base map or map limit. Returns a double.

Syntax

object.xMax

Example 1

This example demonstrates how to return the maximum X coordinate of a base map.

Debug.Print BaseLayer.xMax

Used by: MapFrame object, RasterBaseLayer Object, VectorBaseLayer Object