'Declaration
Public Function AddChart( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer _ ) As ChartObject
'Usage
Dim instance As WorksheetDrawing Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim value As ChartObject value = instance.AddChart(x, y, width, height)
Parameters
- x
- The position (in pixels) of the upper-left corner of the chart's bounding box relative to the upper-left corner of the document.
- y
- The position (in pixels) of the upper-left corner of the chart's bounding box relative to the upper-left corner of the document.
- width
- The width of the chart's bounding box, in pixels.
- height
- The height of the chart's bounding box, in pixels.