EraseDrawing Method

Microsoft PowerPoint Visual Basic

EraseDrawing Method

       

Removes lines drawn during a slide show using either the DrawLine method or the pen tool.

expression.EraseDrawing

expression   Required. An expression that returns a SlideShowView object.

Example

This example erases any lines that have been drawn in slide show window one using either the DrawLine method or the pen tool.

SlideShowWindows(1).View.EraseDrawing