Selection Property [PlotDocument]

Selection returns the current selection. Returns a Selection collection.

Syntax

object.Selection

Example 1

This example demonstrates how to return the number of objects selected.

Debug.Print Plot.Selection.Count

Example 2

This example demonstrates how to overlay maps and assign the new map coordinate system to the variable named MapFrame2.

Dim MapFrame2 As Object

Set MapFrame2 = Plot.Selection.OverlayMaps

Example 3

This script displays all the methods and properties in the PlotDocument object.

Used by: PlotDocument object