The CreateGradientMap method creates a gradient map. The gradient map properties can be edited through the returned GradientMap object.
Syntax
object.CreateGradientMap( 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
'CreateGradientMap
'Create a gradient map and assign it to the variable "GradientMap"
Set Gradient = Plot.CreateGradientMap(BoundaryFileName:=mvApp.ModuleFolder + "\Samples\CO2010.gsb", _
DataFileName:=mvApp.ModuleFolder + "\Samples\CO2010.dat", _
PIDCol:=1, VarCol:=7)
Used by: PlotDocument object