SaveFilledGrid

SaveFilledGrid is superceded by SaveFilledGrid2. Consider using SaveFilledGrid2 instead. SaveFilledGrid has been retained for backward compatibility.

The SaveFilledGrid method saves the filled depressions to a grid file.

Syntax

object.SaveFilledGrid( FileName, Format )

Parameter

Type

Required/

Optional

Default

Description

FileName

String

Required

This provides the directory path and file name of the pour point file.

Format

SrfGridFormat

Required

This is the grid file format.

Example

This example saves the grid file with filled depressions for the watershed map.

WatershedLayer.SaveFilledGrid(FileName:="c:\temp\filledGrid.grd", Format:=srfGridFmtS7)

Used by: WatershedLayer Object