DataFile Property

DataFile returns or sets the name of the data file used to create the map. Returns a string.

Syntax

object.DataFile

object. DataFile = File

Parameter

Type

Description

File

String

required

Example 1

This example demonstrates how to return the name of a post map data file.

Debug.Print PostLayer.DataFile

Example 2

This example demonstrates how to change a classed post map data file.

ClassedPostLayer.DataFile = SurferApp.Path+"\Samples\Diablo Example.dat"

Used by: ClassedPostLayer Object, PostLayer Object

See Also

Data files