Share via


ZoomIn method

Zooms the map view closer; similar to clicking Zoom In on the Navigation toolbar.

Applies to

Objects:  Map

Syntax

object.ZoomIn

Parameters

Part Description
object Required. An expression that returns a Map object.

Example

    Sub ZoomInOnMap()

  Dim objApp As New MapPoint.Application
  'Set up the application   objApp.Visible = True   objApp.UserControl = True
  'Zoom in on the map   objApp.ActiveMap.ZoomIn
  End Sub