Version

InsertInlineShape(Int32,ShapeType) Method

Inserts an InlineShape into the associated Paragraph at the specified ordinal position.
Syntax
'Declaration
 
Public Overloads Function InsertInlineShape( _
   ByVal index As Integer, _
   ByVal shapeType As Infragistics.Documents.Word.ShapeType _
) As Infragistics.Documents.Word.InlineShape
public Infragistics.Documents.Word.InlineShape InsertInlineShape( 
   int index,
   Infragistics.Documents.Word.ShapeType shapeType
)

Parameters

index
The ordinal position within this collection at which to insert the shape.
shapeType
A ShapeType constant which defines the type of shape to be added, i.e., a line, rectangle, ellipse, etc.

Return Value

An InlineShape instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also