yMax Property [Grid]

yMax returns or sets the maximum Y coordinate of the grid. Returns a double.

Syntax

object.yMax

object. yMax = yMax

Parameter

Type

Description

yMax

Double

required

Example 1

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

Debug.Print Grid.yMax

Example 2

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

Grid.yMax = 100

Used by: Grid object , GridXYZC object