Version

CreateAnchoredShape(ShapeType) Method

Creates a new AnchoredShape.
Syntax
'Declaration
 
Public Overloads Function CreateAnchoredShape( _
   ByVal shapeType As ShapeType _
) As AnchoredShape
public AnchoredShape CreateAnchoredShape( 
   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 AddAnchoredShape method.

Requirements

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

View on GitHub