Dim pFeature As IFeature
Dim pPoint As IPoint
pFeature已经有值了是个点,我想要pPoint是pFeature点的坐标,怎么做?C#的代码也可以
------解决方案--------------------
pFeature.Shape=pPoint
------解决方案--------------------
Dim pFeature As IFeature
Dim pPoint As IPoint
pFeature.Shape=pPoint
楼上正解
------解决方案--------------------
诶,应该是pPoint=pFeature.Shape as IPoint吧