Dim pGeo As IGeometry
Set pGeo = [Shape]
Dim pPolyline As IPolyline
Set pPolyline = pGeo
Dim pCurve As IPolycurve
Set pCurve = pPolyline
dim pt as IPoint
set pt = new Point
call pCurve.QueryPoint(esriNoExtension,0.5,True,pt)
dim x as double
x = round(pt.X,5)

 

CenterX = x

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-07-03
  • 2022-12-23
  • 2021-05-30
  • 2021-07-28
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案