Previous Document Next Document

Object Model Reference : Classes : S : Shapes : Properties : Shapes.Item


Shapes.Item

Property Item(IndexOrName As Variant) As Shape

Description

Member of Shapes

The Item property returns a specified shape. It is the default property of the Shapes class.

The Item property returns a read-only value.

Parameter
Description
IndexOrName
Specifies the shape by its index number or name:
 
Index — Specifies the preset placeholder that uniquely identifies each member of the Shapes collection
 
Name — Specifies the string that uniquely identifies each shape

VBA example

The following VBA example removes any fill from the first shape object in the Shapes collection.

Sub ShapesItem()
 ActiveLayer.Shapes.Item(1).Fill.ApplyNoFill
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.