Excel for WinRT
Add Method (ShapeCollection)


XLShape object to add to the collection.
Appends an XLShape object to the collection.
Syntax
'Declaration
 
Public Function Add( _
   ByVal shape As XLShape _
) As XLShape
'Usage
 
Dim instance As ShapeCollection
Dim shape As XLShape
Dim value As XLShape
 
value = instance.Add(shape)
public XLShape Add( 
   XLShape shape
)

Parameters

shape
XLShape object to add to the collection.

Return Value

A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection).
See Also

Reference

ShapeCollection Class
ShapeCollection Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback