'Declaration Public Shared Function Create( _ ByVal writer As WordDocumentWriter, _ ByVal shapeType As ShapeType _ ) As VmlShape
public static VmlShape Create( WordDocumentWriter writer, ShapeType shapeType )
The type of the object returned from the Create method is different based on the specified shapeType. For example, when 'Line' is specified as the shape type, a VmlLine instance is returned.
To access properties that are specific to the VmlShape-derived type that is returned, the reference returned from this method can be upcasted.
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
View on GitHub