FileName Property [RasterBaseLayer, VectorBaseLayer]

FileName returns or sets the name of the file used to create the base map layer.

Syntax

object.FileName

object. FileName = File

Parameter

Type

Description

File

String

required

Example 1

This example demonstrates how to return the name of the data file used to construct a base map.

Debug.Print BaseLayer.FileName

Example 2

This example demonstrates how to set the name of the base map.

BaseLayer.FileName = SurferApp.Path+"\Samples\demorect.bln"

Used by: RasterBaseLayer Object, VectorBaseLayer Object