SpreadsheetGear 2010
AddChart Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IShapes Interface : AddChart Method

left
Left edge of the new chart in points.
top
Top edge of the new chart in points.
width
Width of the new chart in points.
height
Height of the new chart in points.
Adds a chart to the shapes collection at the specified position and with the specified size.

Syntax

Visual Basic (Declaration) 
Function AddChart( _
   ByVal left As Double, _
   ByVal top As Double, _
   ByVal width As Double, _
   ByVal height As Double _
) As IShape
C# 
IShape AddChart( 
   double left,
   double top,
   double width,
   double height
)

Parameters

left
Left edge of the new chart in points.
top
Top edge of the new chart in points.
width
Width of the new chart in points.
height
Height of the new chart in points.

Return Value

A shape object representing the newly created chart.

Remarks

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.