Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddChartInPixel Method / AddChartInPixel(ChartType,Double,Double,Double,Double) Method
The chart type
The distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
The distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
The width, in pixels, of the object
The height, in pixels, of the object
In This Topic
    AddChartInPixel(ChartType,Double,Double,Double,Double) Method
    In This Topic
    Creates a chart at the specified location on the active sheet.
    Syntax
    IShape AddChartInPixel( 
       ChartType chartType,
       System.double left,
       System.double top,
       System.double width,
       System.double height
    )

    Parameters

    chartType
    The chart type
    left
    The distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
    top
    The distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
    width
    The width, in pixels, of the object
    height
    The height, in pixels, of the object

    Return Value

    The IShape object.
    See Also