SetLabelTicks
SetLabelTicks method specifies the display and length of tick marks in a graticule.
Syntax
object. SetLabelTicks( Type, ShowTicks )
Parameter |
Type |
Required/ Optional |
Default |
Description |
Type |
Required |
This specifies whether the X or Y graticule ticks are being edited |
||
ShowTicks |
Boolean |
Required |
This specifies whether or not the tick marks are displayed. True to show tick marks. |
|
Length |
Double |
Optional |
0.05 |
This specifies the tick mark length in page units. |
Example
This example demonstrates how to hide the graticule tick marks along the Y axis and make the tick marks 0.1" along the X axis.
Graticule.SetLabelTicks(Type:=srfGraticuleLabelY, ShowTicks:=False)
Graticule.SetLabelTicks(Type:=srfGraticuleLabelX, ShowTicks:=True, Length:= 0.1)
Used by: Graticule Object