xMax Property [Grid]

xMax returns or sets the maximum X coordinate of the grid. Returns a double.

Syntax

object.xMax

object. xMax = xMax

Parameter

Type

Description

xMax

Double

required

Example 1

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

Debug.Print Grid.xMax

Example 2

This example demonstrates how to set the maximum X value of a grid to 100.

Grid.xMax = 100

Used by: Grid object , GridXYZC object