Version

CreateVmlShape Method

Creates a new VmlShape-derived instance based on the specified shapeType.
Syntax
'Declaration
 
Public Function CreateVmlShape( _
   ByVal shapeType As ShapeType _
) As VmlShape
public VmlShape CreateVmlShape( 
   ShapeType shapeType
)

Parameters

shapeType
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