All Cadcorp SIS API Methods

CreatePhoto Method

Description

Creates a Map Frame item in the current window, filling it with the previously composed window.

Syntax

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

Parameters

x1
The x coordinate of the first rectangular extent of the Map Frame item.
 
y1
The y coordinate of the first rectangular extent of the Map Frame item.
 
x2
The x coordinate of the second rectangular extent of the Map Frame item.
 
y2
The y coordinate of the second rectangular extent of the Map Frame item.
 

Remarks

This method respects the axes angle setting, so 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 OM OD SISpy

Groups:

Example

sis.CreatePhoto (0,0,100,100)