Share via


IShapes.AddCanvas Method

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function AddCanvas ( _
    Left As Single, _
    Top As Single, _
    Width As Single, _
    Height As Single _
) As Shape
'Usage
Dim instance As IShapes
Dim Left As Single
Dim Top As Single
Dim Width As Single
Dim Height As Single
Dim returnValue As Shape

returnValue = instance.AddCanvas(Left, _
    Top, Width, Height)
Shape AddCanvas(
    float Left,
    float Top,
    float Width,
    float Height
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Shape

See Also

Reference

IShapes Interface

IShapes Members

Microsoft.Office.Interop.Excel Namespace