CanvasShapes.AddShape Method
Reserved for internal use.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Function AddShape ( _
Type As MsoAutoShapeType, _
Left As Single, _
Top As Single, _
Width As Single, _
Height As Single _
) As Shape
'Usage
Dim instance As CanvasShapes
Dim Type As MsoAutoShapeType
Dim Left As Single
Dim Top As Single
Dim Width As Single
Dim Height As Single
Dim returnValue As Shape
returnValue = instance.AddShape(Type, _
Left, Top, Width, Height)
Shape AddShape(
MsoAutoShapeType Type,
float Left,
float Top,
float Width,
float Height
)
Parameters
- Type
Type: Microsoft.Office.Core.MsoAutoShapeType
- Left
Type: System.Single
- Top
Type: System.Single
- Width
Type: System.Single
- Height
Type: System.Single
Return Value
Type: Microsoft.Office.Interop.PowerPoint.Shape