ShowBasicInfoOnly Property

The ShowBasicInfoOnly property returns or sets the state of the Show basic info property for the specified layer in the legend. Returns a Boolean.

 

Syntax

Object.ShowBasicInfoOnly(LayerName) = ShowBasicInfoOnly

 

Parameter

Type

Description

LayerName

String

required; name of layer for which ShowBasicInfoOnly is returned/set

ShowBasicInfoOnly

Boolean

optional; true to show only the legend title and samples for the specified layer

 

 

Example 1

This example demonstrates how to return the state of ShowBasicInfoOnly for "Layer #1."

 

Legend.ShowBasicInfoOnly("Layer #1")

 

Example 2

This example demonstrates how to set the ShowBasicInfoOnly state for "Layer #3" to False.

 

Legend.ShowBasicInfoOnly("Layer #3") = False

 

 

Used by: Legend object