Creates a rectangular Polygon item. If a Group is open, then graphics are added to the Group, otherwise a new Item is created.
Visual Basic |
---|
Public Function CreateRectangle( _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double _ ) As Integer |
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 creates will align to the axes angle.
If a group is open, graphics are added to the group, otherwise a new item is created.
Available: GEO MM ME MD OM OD OV SISpy
Group:
sis.CreateRectangle (10, 10, 30, 30)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).