SetLabelFrequency [Graticule]

SetLabelFrequency method specifies the frequency for the X or Y axis labels and tick marks in a graticule.

Syntax

object.SetLabelFrequency( Type, Frequency )

Parameter

Type

Required/

Optional

Default

Description

Type

SrfGraticuleLabelType

Required

This specifies whether the frequency is being set for the X or Y labels.

Frequency

Integer

Required

This specifies the number of graticule lines to label: 1 is every line, 2 is every other line, etc.

Example

This example demonstrates how to label every third graticule line along the X axis.

Graticule.SetLabelFrequency(Type:=srfGraticuleLabelX, Frequency:=3)

Used by: Graticule Object