All Cadcorp SIS API Methods

CreateBoundary Method

Description

Creates an Item from the boundary of the current open Item.

Syntax

Visual Basic
Public Function CreateBoundary() As Integer

Remarks

The boundary of an Item is always 1 dimension less than the Item itself.

For example:

  • The boundary of a Polygon item (which is 2-dimensional) is a LineString item.
  • The boundary of a LineString item (which is 1-dimensional) is two Point Items (the start and end point of the LineString).
  • The boundary of a Point item (which is 0-dimensional) is nothing.

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

Available: GEO  OD SISpy

Group:

Example

sis.CreateBoundary()