The ArrangeVarsVertically property returns or sets the state the Arrange variables option in a legend. Returns a Boolean.
Syntax
object.ArrangeVarsVertically( LayerName )
object.ArrangeVarsVertically( LayerName ) = ArrangeVarsVertically
Parameter |
Type |
Description |
LayerName |
String |
required; layer name |
ArrangeVarsVertically |
Boolean |
required; false to arrange variables vertically, true to arrange variables horizontally |
Remarks
The ArrangeVarsVertically property does not apply to all thematic map types.
Example 1
This example returns the state of a layer's legend variables.
Debug.Print Legend.ArrangeVarsVertically("Layer #1")
Example 2
This example sets a layer's legend variables to a vertical state.
Legend.ArrangeVarsVertically("Layer #1")= False
Used by: Legend object