ShapeCollection.AddShapeInChartByScale
Contents
[
Hide
]AddShapeInChartByScale(MsoDrawingType, PlacementType, double, double, double, double)
Add a shape to chart. All unit is percent scale of chart area.
public Shape AddShapeInChartByScale(MsoDrawingType type, PlacementType placement, double left,
double top, double right, double bottom)
Parameter | Type | Description |
---|---|---|
type | MsoDrawingType | The drawing type. |
placement | PlacementType | the placement type. |
left | Double | Unit is percent scale of chart area width. |
top | Double | Unit is percent scale of chart area height. |
right | Double | Unit is percent scale of chart area width. |
bottom | Double | Unit is percent scale of chart area height. |
See Also
- class Shape
- enum MsoDrawingType
- enum PlacementType
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells
AddShapeInChartByScale(MsoDrawingType, PlacementType, double, double, double, double, byte[])
Add a shape to chart .All unit is 1/4000 of chart area.
public Shape AddShapeInChartByScale(MsoDrawingType type, PlacementType placement, double left,
double top, double right, double bottom, byte[] imageData)
Parameter | Type | Description |
---|---|---|
type | MsoDrawingType | The drawing type. |
placement | PlacementType | the placement type. |
left | Double | Unit is percent scale of chart area width. |
top | Double | Unit is percent scale of chart area height. |
right | Double | Unit is percent scale of chart area width. |
bottom | Double | Unit is percent scale of chart area height. |
imageData | Byte[] | If the shape is not a picture or ole object,imageData should be null. |
See Also
- class Shape
- enum MsoDrawingType
- enum PlacementType
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells