Cadcorp SIS API Methods

CreateKeyMap Method

Description

Creates a Key Map item.

Syntax

Visual Basic
Public Function CreateKeyMap( _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double, _
   ByVal list As String, _
   ByVal backdrop As String, _
   ByVal view As String _
) As Integer

Parameters

x1
The x coordinate of the first rectangular extent of the Key Map.
 
y1
The y coordinate of the first rectangular extent of the Key Map.
 
x2
The x coordinate of the second rectangular extent of the Key Map.
 
y2
The y coordinate of the second rectangular extent of the Key Map.
 
list
The Named List containing the Map Frame Items to be associated with the Key Map.
 
backdrop
The named Item to draw as a backdrop in the Key Map.
 
view
The named View to draw in the Key Map. If the Key Map does not have a named View, then it will draw the backdrop around the extents of all of the associated Map Frame Items.

Remarks

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

Available: GEO MM ME MD OM OD SISpy

Group:

Example

sis.CreateKeyMap (22051, 333313, 516257, 662285, "MapFrame", "GB National Grid", "*KM.UK" )


Send comments on this topic.

Click to return to www.cadcorp.com

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