⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vba15-3.txt

📁 ao的一些代码集合
💻 TXT
字号:
Public Sub OpenMapInsetWindow()
    ' Create a magnification window
    ' and set its zoom factor to 500%.
    Dim pDataWindowFactory As IDataWindowFactory
    Dim pMapInsetWindow As IMapInsetWindow
    Dim pMapInset As IMapInset
    Set pDataWindowFactory = New MapInsetWindowFactory
    If Not pDataWindowFactory.CanCreate(Application) Then
        MsgBox "Unable to create magnification window."
        Exit Sub
    End If
    Set pMapInsetWindow = pDataWindowFactory. _
    Create(Application)
    pMapInsetWindow.Show True
    Set pMapInset = pMapInsetWindow.MapInset
    pMapInset.ZoomPercent = 500
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -