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
- Layout
Type: Microsoft.Office.Core.SmartArtLayout
- Left
Type: System.Object
- Top
Type: System.Object
- Width
Type: System.Object
- Height
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Shape