ColorGridFile Property
ColorGridFile returns or sets the name of the grid file used for color scaling in a vector map. Returns a string.
Syntax
object.ColorGridFile
object. ColorGridFile = File
Parameter |
Type |
Description |
File |
String |
required; file name and path of the grid file used for color scaling |
Example 1
This example demonstrates how to return the name of a grid file used for color scaling.
Debug .Print VectorLayer.ColorGridFile
Example 2
This example demonstrates how to designate DEMOGRID.GRD as the color scale grid.
VectorLayer.ColorGridFile = SurferApp.Path+"\Samples\Demogrid.grd"
Used by: VectorLayer Object