All Cadcorp SIS API Methods

CreateGraticule Method

Description

Creates a Graticule item using the current open Map Frame item.

Syntax

Visual Basic
Public Function CreateGraticule( _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double _
) As Integer

Parameters

x1
The first x rectangular extent of the Graticule. This will typically be the extents of the associated Map Frame item.
 
y1
The first y rectangular extent of the Graticule.
 
x2
The second x rectangular extent of the Graticule.
 
y2
The second y rectangular extent of the Graticule.

Remarks

The parameters x1, x2, y1 ,y2 will typically be the extents of the associated Map Frame item.

This method respects the axes angle setting. This means that the x, y and z values are interpreted within the axes and all new items created will align to the axes angle.

Available: GEO  D OD OM SISpy

Group:

Example

sis.CreateGraticule (0,0,100,100)