NumCols Property

NumCols returns the number of columns (number of nodes in the X direction) in the grid. Returns an integer. This is a read-only property.

Syntax

object.NumCols

Example

This example demonstrates how to return the number of columns of a grid.

Debug.Print Grid.NumCols

Used by: Grid object