All Cadcorp SIS API Methods

SetOverlaySchema Method

Description

Applies a copy of a named Schema to an overlay in the current SWD.

Syntax

Visual Basic
Public Function SetOverlaySchema( _
   ByVal pos As Integer, _
   ByVal schema As String _
) As Integer

Parameters

pos

The position of the overlay in the overlays list whose Schema is to be set.

 
schema

The named Schema to copy. This can be any named Schema previously created, or loaded from a Named Object Library, or "" to unset the overlay Schema.

Remarks

Any named Schema given will be copied, therefore any subsequent changes to the named Schema will not be reflected in the overlay Schema.

Available: GEO D OD OM SISpy

Groups:

Example

sis.SetOverlaySchema(0, "Schema2")