HowTo Perform the spatial selection 'Share a line segment with' using ArcObjects

HowTo  Perform the spatial selection 'Share a line segment with' using ArcObjects

Article ID:

26528

Software:

 ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3 ArcGIS - ArcInfo 8.1, 8.1.2, 8.2, 8.3 ArcGIS - ArcView 8.1, 8.1.2, 8.2, 8.3

Platforms:

 Windows NT 4.0, 2000, XP

Summary

Instructions provided illustrate how to duplicate the functionality of ArcMap's spatial selection 'share a line segment with' through ArcObjects code.

 

Procedure

  1. Start ArcMap.
  2. Open the Visual Basic Editor. -show me-
  3.  Code in the Project's ThisDocument code module will only run in the current map document. If you want to store the code in all map documents open the Normal.mxt ThisDocument code module.

     

  4. End Sub

     

 

Created: 4/1/2004
Last Modified: 7/1/2008

Article Rating:  (1)

If you would like to post a comment, please login

Comments

By Anonymous - 07/20/2005 7:47 AM

Hello, The sample code to select polygons that share a segment with the selected polygon did not work for me. Although I tested it in 9.1, no library is explicitly defined so I don't think this is the problem. http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=26528 Sincerely, Valentina

原文地址:https://www.cnblogs.com/xiexiaokui/p/4986527.html