Cadcorp SIS API Methods

CreateScaleBar Method

Description

Creates a Scale Bar item using the current open Map Frame item. If a Group is open, then graphics are added to the Group, otherwise a new Item is created.

Syntax

Visual Basic
Public Function CreateScaleBar( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal shape As String, _
   ByVal a As Double _
) As Integer

Parameters

x

The first x coordinate of the rectangular extent of the Scale Bar.

y

The first y coordinate of the rectangular extent of the Scale Bar.

z

The first z coordinate of the rectangular extent of the Scale Bar.

shape
The Symbol of the Scale Bar.
 
a
The angle of the Scale Bar in radians.

Remarks

Available: GEO MM ME MD OD OM SISpy

Group:

Example

sis.CreateScaleBar (0, 0, 0, "ScaleBar1", 0)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).