A PlotDocument object corresponds to a [.GSM] file. PlotDocument objects are created by the Documents.Add or Documents.Open methods of the Application object.
The PlotDocument provides access to all the drawing and map objects. Use methods and properties in the PlotDocument object to create maps, query maps, change map properties such as the projection, import and export files, print, and change the defaults such as line properties and units.
Derived from: Document object (All methods and properties of Document apply to this object.)
Properties
Methods
DeleteFromAddressAbbreviationList
Example
The following script demonstrates how the PlotDocument object is used.
Sub Main
'Declares mvApp as an object
Dim mvApp As Object
'Creates an instance of the MapViewer Application
'object and assigns it to the variable named "mvApp"
Set mvApp = CreateObject("MapViewer.Application")
'Makes MapViewer visible
mvApp.Visible = True
'Declares Plot as an object
Dim Plot As Object
'Creates a PlotDocument object in MapViewer
'and assigns it to the variable named "Plot"
Set Plot = mvApp.Documents.Add(mvDocPlot)
End Sub