Previous Document Next Document

Object Model Reference : Classes : L : Layer : Methods : Layer.Delete


Layer.Delete

Sub Delete()

Description

Member of Layer

The Delete method removes a layer and its contents.

VBA example

The following VBA example deletes the layer named Layer 1 on the active page, as well as its contents.

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.