All Cadcorp SIS API Methods

RemoveOverlayTheme Method

Description

Removes a Theme from an overlay in the current SWD.

Syntax

Visual Basic
Public Function RemoveOverlayTheme( _
   ByVal pos As Integer, _
   ByVal nTheme As Integer _
) As Integer

Parameters

pos
The position of the overlay in the overlays list from which the Theme is to be removed.
 
nTheme
The index of the Theme, starting at 0. Use the Number of themes property to find out the number of Theme objects in an overlay.

Remarks

Available: GEO D OD OM OV SISpy

Groups:

Example

sis.RemoveOverlayTheme(4, 2)

Removes the third theme, on the fifth overlay, in the current window.