All Cadcorp SIS API Methods

SetOverlayLocus Method

Description

Applies a copy of a named Spatial Filter  to an overlay in the current SIS Workspace Definition (SWD).

Syntax

Visual Basic
Public Function SetOverlayLocus( _
   ByVal pos As Integer, _
   ByVal locus As String _
) As Integer

Parameters

pos

The position of the overlay in the overlays list whose drawing Spatial Filter is to be set.

 
locus

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

Remarks

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

Available: GEO D OD OM SISpy

Groups:

Example

sis.SetOverlayLocus (0, "Schema10" )