AddShapeInChart

AddShapeInChart(MsoDrawingType, PlacementType, int, int, int, int, byte[])

Add a shape to chart .All unit is 1/4000 of chart area.

public Shape AddShapeInChart(MsoDrawingType type, PlacementType placement, int left, int top, 
    int right, int bottom, byte[] imageData)
Parameter Type Description
type MsoDrawingType The drawing type.
placement PlacementType the placement type.
left Int32 In unit of 1/4000 chart area width.
top Int32 In unit of 1/4000 chart area height.
right Int32 In unit of 1/4000 chart area width.
bottom Int32 In unit of 1/4000 chart area height.
imageData Byte[] If the shape is not a picture or ole object,imageData should be null.

See Also


AddShapeInChart(MsoDrawingType, PlacementType, int, int, int, int)

Add a shape to chart .All unit is 1/4000 of chart area.

public Shape AddShapeInChart(MsoDrawingType type, PlacementType placement, int left, int top, 
    int right, int bottom)
Parameter Type Description
type MsoDrawingType The drawing type.
placement PlacementType the placement type.
left Int32 In unit of 1/4000 chart area width.
top Int32 In unit of 1/4000 chart area height.
right Int32 In unit of 1/4000 chart area width.
bottom Int32 In unit of 1/4000 chart area height.

See Also