StatsOptions2 Property

 

The StatsOptions2 property returns or sets the statistics options for a territory map. This property is the same as the StatsOptions property, except it takes the pointer to the array. VB users may want to call this property instead of StatsOptions. Note: Golden Software does not officially support VB.

 

Syntax

object.StatsOptions2( StatsOptions )

 

Parameter

Type

Description

StatsOptions

Array of MVTerritoryStatType

required; array of statistics integers

 

Remarks

VB users can use ReDim to set the array size to the used size if necessary. See Coordinate Arrays for more information about creating arrays in MapViewer.

 

Example

    'StatsOption2

    'Defines an array of statistics

    Dim statz(1) As Long

    statz(0)=mvTerStatTypeSum

    statz(1)=mvTerStatTypeAverage

    

    'Sets the statistics option

    TerrMap.StatsOptions2= statz

 

Used by: TerritoryMap object