DeleteSelectedObjects Method Example

The following example selects the Chord and Polygon objects Chord1 and Polygon1 and then deletes them from the Picture TestPicture.

Chord1.SelectObject False

Polygon1.SelectObject False

TestPicture.DeleteSelectedObjects