Previous Document Next Document

Object Model Reference : Classes : A : Application : Properties : Application.ActiveShape


Application.ActiveShape

Property ActiveShape As Shape

Description

Member of Application

The ActiveShape property returns the first selected shape in the active document.

The ActiveShape property returns a read-only value.

VBA example

The following VBA example applies the Brighten lens to the currently selected shape.

Sub Test()
 ActiveShape.CreateLens cdrLensBrighten, 50
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.