The ShowClassName property returns or sets the Show class name instead of data value option in a legend. Returns a Boolean.
Syntax
object.ShowClassName( LayerName )
object.ShowClassName( LayerName ) = ShowClassName
Parameter |
Type |
Description |
LayerName |
String |
required; layer name |
ShowClassName |
Boolean |
required; true to show the class name |
Example
'ShowClassName
'Show the class name instead of the data range for the hatch map layer
Legend.ShowClassName("Layer #1") = True
Used by: Legend object