The StatsOptions property returns or sets the statistics options for a territory map.
Syntax
object.StatsOptions( StatsOptions )
Parameter |
Type |
Description |
StatsOptions |
Array of MVTerritoryStatType |
required; array of statistics |
Remarks
VB users can use ReDim to set the array size to the used size if necessary or use StatsOptions2. See Coordinate Arrays for more information about creating arrays in MapViewer.
Example
'Defines an array of statistics
Dim statz(1) As Long
statz(0)=mvTerStatTypeSum
statz(1)=mvTerStatTypeAverage
'Sets the statistics option
TerrMap.StatsOptions= statz
Used by: TerritoryMap object