现在的位置: 首页 > 综合 > 正文

arcgis 中分式注记

2012年08月17日 ⁄ 综合 ⁄ 共 271字 ⁄ 字号 评论关闭

Function FindLabel ( [NAME],[DZM]  )
dim cd1
dim cd2
dim  bcd
cd1=len([DZM])
cd2=len([NAME])
if (cd1>cd2) then
  bcd=round((cd1-cd2)/2,0)
  FindLabel = "<und>"& string(bcd," ") &   [NAME]  &string(bcd," ") &"</und>"&vbcrlf& [dzm]
else
  FindLabel = "<und>" &    [NAME]  &"</und>"&vbcrlf&[DZM]
end if

End Function

抱歉!评论已关闭.