this from the automation reference
SpatialNeighbors property
See AlsoApplies ToExampleSpecifics
Returns a Selection object that represents the shapes that meet certain
criteria in relation to a specified shape.
objRet = object.SpatialNeighbors(Relation, Tolerance, Flags, [ResultRoot])
objRet A Selection object.
object Required. An expression that returns a Shape object.
Relation Required Integer. An integer describing the type of
relationship to be used.
Tolerance Required Double. A distance in internal drawing units with
respect to the coordinate space defined by the parent shape.
Flags Required Integer. Flags that influence the type of entries
returned in results.
ResultRoot Optional Variant. A Shape object that represents a page or
group.
Version added
2000
Remarks
For values of the Relation argument, see the SpatialRelation property.
The Flags argument can be any combination of the values of the constants
defined in the following table. These constants are also defined in
VisSpatialRelationFlags in the Visio type library.
al
Kennard said:
Chris,
I'm running Visio Pro 2003 SP2.
I'm unable to find anything related to "SpatialNeighbors" in the Developer
section.
Can you help point me to the correct area?
Thanks