Cadcorp SIS API Methods

SetOverlayFilter Method

Description

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

Syntax

Visual Basic
Public Function SetOverlayFilter( _
   ByVal pos As Integer, _
   ByVal filter As String _
) As Integer

Parameters

pos
The position of the overlay in the overlays list whose drawing Filter is to be set.
 
filter
The named Filter to copy. This can be any previously created named Filter, or a Filter loaded from a Named Object Library, or "" to unset the overlay drawing Filter.

Remarks

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

Available: GEO MM ME MD OD OM OV SISpy

Groups:

Example

Sis1.SetPropertyFilter("PolygonsGreaterThan50", "Polygons&>50")

Sis1.SetOverlayFilter(0," PolygonsGreaterThan50")

Sets the include filter on the overlay 0 to PolygonsGreaterThan50.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).