[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CanvasShapeCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a CanvasShape into this collection at a specified location.

Declaration
public CanvasShape Insert(InsertLocation location)
Public Function Insert(location As InsertLocation) As CanvasShape
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
CanvasShape

The inserted CanvasShape.

Insert(float, float, InsertLocation)

Inserts a CanvasShape into this collection at a specified location.

Declaration
public CanvasShape Insert(float width, float height, InsertLocation location)
Public Function Insert(width As Single, height As Single, location As InsertLocation) As CanvasShape
Parameters
Type Name Description
float width

The canvas width, in points.

float height

The canvas height, in points.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
CanvasShape

The inserted CanvasShape.