?? 2 全圖.txt
字號:
'全圖:
Sub FullExtentPlus()
Dim pDoc As IMxDocument '地圖文檔
Dim pActiveView As IActiveView '活動地圖
Set pDoc = Application.Document '獲取當前地圖文檔
Set pActiveView = pDoc.activeView '獲取當前活動地圖
pActiveView.Extent = pDoc.ActiveView.FullExtent '全圖顯示
pActiveView.Refresh '刷新當前視圖
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -