Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapeCollection Class / Insert Method / Insert(Single,Single,InsertLocation) Method
The shape width, in points.
The shape height, in points.
The target InsertLocation for the insertion.

In This Topic
    Insert(Single,Single,InsertLocation) Method
    In This Topic
    Inserts a new GeometryType.Rectangle Shape with a specified size into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal width As System.Single, _
       ByVal height As System.Single, _
       ByVal location As InsertLocation _
    ) As Shape
    public Shape Insert( 
       System.float width,
       System.float height,
       InsertLocation location
    )

    Parameters

    width
    The shape width, in points.
    height
    The shape height, in points.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted Shape.
    See Also