ArrangeSamplesVertically Property

 

The ArrangeSamplesVertically property returns or sets the state the Arrange samples option in a legend.  Returns a Boolean.

 

Syntax

object.ArrangeSamplesVertically( LayerName )

object.ArrangeSamplesVertically( LayerName ) = ArrangeSamplesVertically

 

Parameter

Type

Description

LayerName

String

required; layer name

ArrangeSamplesVertically

Boolean

required; false to arrange samples vertically, true to arrange samples horizontally

 

Remarks

The ArrangeSamplesVertically property does not apply to all thematic map types.

 

Example 1

This example returns the state of a layer's legend samples.

 

Debug.Print Legend.ArrangeSamplesVertically("Layer #1")

 

Example 2

This example sets a layer's legend samples to a vertical state.

 

Legend.ArrangeSamplesVertically("Layer #1") = False

 

Used by: Legend object