SaveMap method

Saves the specified map or template. If the map was opened from a template, then the map is saved as "Map.ptm" in the "My Documents" directory.

Applies to

Objects:  MappointControl

Syntax

object.SaveMap

Parameters

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

Remarks

To open a map from a template, use the NewMap method on a MappointControl object.

Example

  'Assume the MappointControl on your form is named "MappointControl1"

Private Sub cmdSave_Click()
     MappointControl1.SaveMap
End Sub