Maptitude GISDK Help

ScopeOnScope()

Summary

Checks to see if one scope overlaps another.

 

Syntax

result = ScopeOnScope(scope scp1, scope scp2)

 

Argument

Contents

scp1

First scope

scp2

Second scope

 

Returns

The string "True" if scp1 and scp2 overlap at all; the string "False" if the two scopes do not overlap.

 

Example

// Make sure at least two maps are open

maps = GetMaps()

dim scopes[maps[1].length]

for i = 1 to maps[1].length do

     scopes[i] = GetMapScope(maps[1][i])

     end

showmessage(ScopeOnScope(scopes[1],scopes[2]))

 

See Also

Function

Summary

CoordInScope()

Checks to see if a coordinate is in a given scope

ScopeInScope()

Checks to see if one scope is completely contained within another

 

 

©2025 Caliper Corporation www.caliper.com