The TextOnLeftOfSample property returns or sets the placement of text on the left of each sample in a legend. Returns a Boolean.
Syntax
object.TextOnLeftOfSample( LayerName )
object.TextOnLeftOfSample( LayerName) = TextOnLeftOfSample
Parameter |
Type |
Description |
LayerName |
String |
required; layer name |
TextOnLeftOfSample |
Boolean |
required; true to place text on the left of the sample |
Example 1
This example returns the placement of text on the left side of samples in a legend for the layer named County Population.
Debug.Print Legend.TextOnLeftOfSample( "County Population" )
Example 2
This example places the text on the left side of the legend samples for the layer named County Population.
Legend.TextOnLeftOfSample( "County Population" ) = True
Used by: Legend object