VB放大、缩小

更新时间:2023-05-17 22:33:42 阅读: 评论:0

Dim flag As String
Private Sub Command1_Click()
flag = "fangda"
zoomin
End Sub
Private Sub Command2_Click()
flag = "suoxiao"
Zoomout
End Subadjournment
Private Sub Command3_Click()
flag = "pingyi"
Pan
End Sub
Private Sub Command4_Click()
flag = "quantu"
full
Map1.Extent = Map1.FullExtent
bellyEnd Sub
标准模式>direct是什么意思
Private Sub Map1_MouDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
fuckawaySelect Ca flag
      Ca "fangda": zoomin
      Ca "suoxiao": Zoomout
      Ca "pingyi": Pan
      Ca "quantu": full
      End Select
End Sub
Sub zoomin()repair是什么意思
Dim r As MapObjects2.Rectanglebanished
Set r = Map1.Extent
r.ScaleRectangle 0.5
Map1.Extent = r
End Sub
Sub Zoomout()lies
    Dim r As MapObjects2.Rectangle
  Set r = Map1.Extent
  r.ScaleRectangle 1.5
    Map1.Extent = r苏州在线
End Sub
Sub Pan()
    Map1.Pan
End Sub
Sub full()
一夜之间英语    Map1.Extent = Map1.FullExtent
End Sub

本文发布于:2023-05-17 22:33:42,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/673383.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:模式   标准
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图