Share via


CopyMap method

Copies the map to the Clipboard; similar to clicking Copy Map on the Edit menu.

Applies to

Objects: Map

Syntax

object.CopyMap

Parameters

Part

Description

object

Required. An expression that returns a Map object.

Example

Sub Main()

Dim objApp As New MapPoint.Application

'Set up the application
objApp.Visible = True
objApp.UserControl = True

'Copy the map
objApp.ActiveMap.CopyMap

End Sub