Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapeCollection Class / Add Method / Add(Single,Single,GeometryType) Method
The shape width.
The shape height.
The geometry type of the shape.

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

    Parameters

    width
    The shape width.
    height
    The shape height.
    type
    The geometry type of the shape.

    Return Value

    The added Shape.
    See Also