GridFile Property

GridFile returns or sets the name of the grid file used to create the map. Returns a string.

Syntax

object. GridFile = File

Parameter

Type

Description

File

String

required

Example 1

This example demonstrates how to return the grid file name used by a surface map.

Debug.Print SurfaceMap.GridFile

Example 2

This example demonstrates how to change the grid file of a contour map.

ContourLayer.GridFile = SurferApp.Path+"\Samples\demogrid.grd"

Used by: ContourLayer Object, ColorReliefLayer Object, Surface object, ViewshedLayer Object, WatershedLayer object, WireFrame object, VectorLayer object