NumSamples Property

 

The NumSamples property returns or sets the Number of samples in a legend. Returns an integer.

 

Syntax

object.NumSamples( LayerName )

object.NumSamples( LayerName ) =  NumSamples

 

Parameter

Type

Description

LayerName

String

required; layer name

NumSamples

Integer

required; number of columns

 

Example

    'NumSamples

    'Change the map to a gradient map (property does not apply to classed maps)

    Plot.CreateGradientMap()

 

Used by: Legend object