The NumColumns property returns or sets the Number of columns for samples in a legend. Returns an integer.
Syntax
object.NumColumns( LayerName )
object.NumColumns( LayerName ) = NumColumns
Parameter |
Type |
Description |
LayerName |
String |
required; layer name |
NumColumns |
Integer |
required; number of columns |
Example
'NumColumns
'Change the number of columns displayed in the legend for the hatch map layer
Legend.NumColumns("Layer #1") = 2
Used by: Legend object