All Cadcorp SIS API Methods

RemoveOverlay Method

The position in the overlays list of the overlay to be removed.

Description

Remove an overlay from the current SWD, deleting it if it is an internal overlay. If the dataset has been modified, all edits since the last save will be lost.

Syntax

Visual Basic
Public Function RemoveOverlay( _
   ByVal pos As Integer _
) As Integer

Parameters

pos
The position in the overlays list of the overlay to be removed.

Remarks

The overlay will be deleted if it is an internal overlay.

Available: GEO D OD OM OV SISpy

Group:

Example

sis.RemoveOverlay(pos)