Delete - Automation

 

The Delete method deletes selected objects, layers, projections, and shapes.

 

Syntax

object.Delete

 

Example

This example demonstrates how to delete selected objects within a map document.

 

Selection.Delete

 

Used by: Layer object, Projection object, Selection collection, Shape object