Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapeCollection Class / Insert Method / Insert(Single,Single,GeometryType,InsertLocation) Method
The shape width, in points.
The shape height, in points.
The geometry type of the shape.
The target InsertLocation for the insertion.

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

    Parameters

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

    Return Value

    The inserted Shape.
    See Also