[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.AddChartInPixel

AddChartInPixel Method

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

在活动工作表的指定位置创建图表。

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

图表类型

double left

图表左侧到图表区域左侧的距离,以像素为单位。

double top

图表顶部到图表区域顶部的距离,以像素为单位。

double width

图表的宽度,以像素为单位。

double height

图表的高度,以像素为单位。

Returns
Type Description
IShape

IShape 对象。