Cadcorp SIS API Methods

CreatePhotoEx Method

Description

Creates a Map Frame item in the current current session, filling it with the specified named composition.

Syntax

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

Parameters

name

The name of the specified composition.
 
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

Groups:

Example

sis.CreatePhotoEx ("MapFrame",0,0,100,100)


Send comments on this topic.

Click to return to www.cadcorp.com

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