Compartilhar via


IShapes.AddSmartArt Method

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

Syntax

'Declaration
Function AddSmartArt ( _
    Layout As SmartArtLayout, _
    Left As Object, _
    Top As Object, _
    Width As Object, _
    Height As Object _
) As Shape
'Usage
Dim instance As IShapes
Dim Layout As SmartArtLayout
Dim Left As Object
Dim Top As Object
Dim Width As Object
Dim Height As Object
Dim returnValue As Shape

returnValue = instance.AddSmartArt(Layout, _
    Left, Top, Width, Height)
Shape AddSmartArt(
    SmartArtLayout Layout,
    Object Left,
    Object Top,
    Object Width,
    Object Height
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Shape

See Also

Reference

IShapes Interface

IShapes Members

Microsoft.Office.Interop.Excel Namespace