RectangleSampleEdge Property

 

The RectangleSampleEdge property returns or sets the No edge on samples option in a legend. Returns a Boolean.

 

Syntax

object.RectangleSampleEdge( LayerName )

object.RectangleSampleEdge( LayerName) = Edge

 

Parameter

Type

Description

LayerName

String

required; layer name

Edge

Boolean

required; true to add edges to the samples

 

Example 1

This example returns the state of rectangle edge visibility for a legend of the Roads layer.

 

Debug.Print Legend.RectangleSampleEdge("New Layer")

 

Example 2

This example makes the rectangle edge invisible.

 

Legend.RectangleSampleEdge("New Layer") = False

 

Used by: Legend object