All Cadcorp SIS API Methods

CreateRectLocus Method

Description

Creates a rectangular named Spatial Filter in a Named Object Library, replacing any existing Spatial Filter with the same name.

Syntax

Visual Basic
Public Function CreateRectLocus( _
   ByVal locus As String, _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double _
) As Integer

Parameters

locus
The named Spatial Filter to create, or replace.
x1

The first x coordinate of the rectangular extent of the Spatial Filter.

y1
The first y coordinate of the rectangular extent of the Spatial Filter.
 
x2
The second x coordinate of the rectangular extent of the Spatial Filter.
 
y2
The second y coordinate of the rectangular extent of the Spatial Filter.

Remarks

Available: GEO OD SISpy

Group:

Example

sis.CreateRectLocus ("RectSpatialFilter", 0,0,100,100)