Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.ActiveLayer


Document.ActiveLayer

Property ActiveLayer As Layer

Description

Member of Document

The ActiveLayer property represents the active layer of the current document.

The ActiveLayer property returns a read-only value.

VBA example

The following VBA example moves all selected shapes to the active layer.

Sub Test()
 ActiveDocument.Selection.Layer = ActiveDocument.ActiveLayer
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.