AddGraticule

AddGraticule adds a new graticule to the specified MapFrame object. Returns a Graticule object.

Syntax

object. AddGraticuleLayer( Map )

Parameter

Type

Default

Description

Map

MapFrame

required; It specifies the MapFrame object to which the graticule is added.

Remarks

A map frame must contain at least one layer before a graticule can be added.

Example 1

This example demonstrates how to create add a graticule to an existing map.

'Declare the Graticule as an object and create the graticule

Dim Graticule As Object

Set Graticule = Shapes.AddGraticule(Map:=MapFrame)

Example 2

This script displays all the methods and properties in the Shapes collection.

Used by: Shapes collection