Cadcorp SIS API Methods

CreateEllipse Method

Description

Creates an elliptical Polygon item. This API 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.

Syntax

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

Parameters

x1
The first x extent of the ellipse.
 
y1
The first y extent of the ellipse.
 
x2
The second x extent of the ellipse.
 
y2
The second y extent of the ellipse.

Remarks

If a Group is open, then graphics are added to the Group, otherwise a new Item is created.

Available: GEO MD MM ME OD OM OV SISpy

Group:

Example

sis.CreateEllipse (0,0,10,10)


Send comments on this topic.

Click to return to www.cadcorp.com

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