Excel for WinRT
Insert Method (ShapeCollection)


Position where the object will be inserted.
Object to insert in the collection.
Inserts an XLShape object at a specific position in the collection.
Syntax
'Declaration
 
Public Overridable Function Insert( _
   ByVal index As System.Integer, _
   ByVal shape As XLShape _
) As XLShape
'Usage
 
Dim instance As ShapeCollection
Dim index As System.Integer
Dim shape As XLShape
Dim value As XLShape
 
value = instance.Insert(index, shape)
public virtual XLShape Insert( 
   System.int index,
   XLShape shape
)

Parameters

index
Position where the object will be inserted.
shape
Object to insert in 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