第五章 ArcEngine开发入门.ppt

If (e.button = 2) Then Dim tocControl As ITOCControl tocControl =AxTOCControl1.Object Dim map As IMap Dim layer As ILayer Dim item As esriTOCControlItem Dim index As Object Dim other As Object tocControl.HitTest(e.x, e.y, item, map, _ layer, other, index) If item.esriTOCControlItemLayer Then MessageBox.Show(layer.Name) End If End if 访问 TOCControl条目 HitTest方法 X 和 Y 鼠标位置 ItemType BasicMap Layer Unk - ILegendGroup Data - legend class index 3D控件 SceneControl Scene view in ArcScene 封装在 Scene coclass中 Use for analyses and 3D viewing GlobeControl Globe view in

文档评论(0)

1亿VIP精品文档

相关文档