Add

The Add method adds a new document to the collection. Returns an object.

 

Syntax

object.Add( DocType )

 

Parameter

Type

Description

DocType

MVDocTypes

optional; default=mvDocPlot, if nothing is specified a map document is added

 

Example

This example demonstrates how to create a new map document.

 

Dim Doc As Object

Set Doc = Docs.Add(DocType:=mvDocPlot)

 

Used by:  Documents Collection