Insert(Single,Single,String,InsertLocation) Method
Inserts a new
GeometryType.Rectangle Shape with a specified size and text into this collection at a specified location.
'Declaration
Public Overloads Function Insert( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.String, _
ByVal As InsertLocation _
) As Shape
Parameters
- width
- The shape width, in points.
- height
- The shape height, in points.
- text
- If not null, a TextFrame with this text is added to the shape.
- location
- The target InsertLocation for the insertion.
Return Value