[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.AddChartInPixel

AddChartInPixel Method

AddChartInPixel(ChartType, double, double, double, double)

Creates a chart at the specified location on the active sheet.

Declaration
IShape AddChartInPixel(ChartType chartType, double left, double top, double width, double height)
Function AddChartInPixel(chartType As ChartType, left As Double, top As Double, width As Double, height As Double) As IShape
Parameters
Type Name Description
ChartType chartType

The chart type

double left

The distance from the left edge of the chart to the left edge of the chart area, in pixels.

double top

The distance from the top edge of the chart to the top edge of the chart area, in pixels.

double width

The width of the chart, in pixels.

double height

The height of the chart, in pixels.

Returns
Type Description
IShape

The IShape object.