All Cadcorp SIS API Methods

DrawList Method

Description

Draws Items in a Named List with overridden styles. This only changes the display until the next time it is redrawn.

Syntax

Visual Basic
Public Function DrawList( _
   ByVal drawcode As Integer, _
   ByVal list As String, _
   ByVal pen As String, _
   ByVal brush As String, _
   ByVal shape As String, _
   ByVal font As String _
) As Integer

Parameters

drawcode
SIS_CURRENTWINDOW Redraw the Items in the current window only.
SIS_CURRENTSWD Redraw the Items in all windows which contain the current SWD.
SIS_ALLWINDOWS Redraw the Items in all windows.
 
list
The Named List containing the Items to be drawn.
 
pen
The Pen with which to draw the items.
 
brush
The Brush with which to fill the items.

shape
The Symbol with which to draw the items.
 
font
The Font with which to draw the items.

Remarks

GisLink customisations must call the ReleaseNA method after having used this method and not the Release method, because the Release method causes a refresh of the current window.

Available: D OD OM OV

Group:

Example

sis.DrawList (SIS_CURRENTWINDOW, "Conservation", "Purple", "Pink", Cross", "Arial")