CreateCartogramMap

 

The CreateCartogramMap method creates a cartogram map.  The cartogram map properties can be edited through the returned CartogramMap object.

 

Syntax

object.CreateCartogramMap( BoundaryFileName, DataFileName, DataTableName, BoundaryFileOptions, PIDCol, VarCol )

 

Parameter

Type

Description

BoundaryFileName

String

optional; boundary file name

DataFileName

String

optional; data file name

DataTableName

String

optional;  table name if a database file is used

BoundaryFileOptions

String

optional; see Boundary File Options

PIDCol

Integer

optional; primary ID column, column A equals 1

VarCol

Integer

optional; variable column, column A equals 1

 

Example

    'CreateCartogramMap

    'Create a cartogram map and assign it to the variable "CartogramMap"

    Set CartogramMap = Plot.CreateCartogramMap(BoundaryFileName:=mvApp.ModuleFolder + "\Samples\CO2010.gsb", _

        DataFileName:=mvApp.ModuleFolder + "\Samples\CO2010.dat", _

        PIDCol:=1, VarCol:=7)

 

Used by: PlotDocument object