Version

InsertAnchoredShape(Int32,ShapeType) Method

Inserts an AnchoredShape into the associated paragraph at the specified ordinal position.
Syntax
'Declaration
 
Public Overloads Function InsertAnchoredShape( _
   ByVal index As Integer, _
   ByVal shapeType As ShapeType _
) As AnchoredShape
public AnchoredShape InsertAnchoredShape( 
   int index,
   ShapeType shapeType
)

Parameters

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

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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