SampleCount Property

The SampleCount property returns or sets the number of samples to display for post layers and unclassed symbology. Returns a double.

Syntax

object.SampleCount

object.SampleCount = SampleCount

Parameter

Type

Description

SampleCount

Integer

Sets/returns the number of samples to display for normal post layer

Remarks

This property does not apply to classed post layers.

Example

This example demonstrates how to return set the number of samples to 5.

SymbologyLegend.SampleCount = 5

Used by: PostLegend object, SymbologyLegend object