IPoint centerPoint =new PointClass();//获得要素的中心点 IArea pArea = pFeature.Shape as IArea; pArea.QueryCentroid(centerPoint);
IPoint centerPoint =new PointClass();//获得要素的中心点 IArea pArea = pFeature.Shape as IArea; pArea.QueryCentroid(centerPoint);
转载于:https://www.cnblogs.com/joysky/p/4543783.html