Previous Document Next Document
Layer.Delete

Sub Delete()

Member of Layer

The Delete method removes a layer and its contents.

The following code example deletes the layer named Layer 1 on the active page. (Deleting the layer also deletes all of its contents.)

Sub Test() 
 ActivePage.Layers("Layer 1").Delete 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.