Object Model Reference : Classes : D : DataItems : Methods : DataItems.Clear |
Sub Clear()
Member of DataItems
The Clear method clears the values of all data items associated with the given shape. A data item stores information about a shape object.
The Name and CDRStaticID fields are used by CorelDRAW to identify objects and cannot be erased.
The following VBA example clears all values from all data fields for the currently selected shape.
Sub Test() |
ActiveShape.ObjectData.Clear |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.