Version

CreateInlineShape(ShapeType) Method

Creates a new InlineShape.
Syntax
'Declaration
 
Public Overloads Function CreateInlineShape( _
   ByVal shapeType As ShapeType _
) As InlineShape
public InlineShape CreateInlineShape( 
   ShapeType shapeType
)

Parameters

shapeType
A ShapeType constant which defines the shape.
Remarks

This method returns an instance which contains a reference to this class, which enables the instance to observe the Unit property setting, so that the developer can work in the unit of measure with which he is most comfortable.

The instance returned from this method can be passed to the AddInlineShape method.

Requirements

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