ShapeCollection.AddPictureInChart

ShapeCollection.AddPictureInChart method

Adds a picture to the chart.

public Picture AddPictureInChart(int top, int left, Stream stream, int widthScale, int heightScale)
ParameterTypeDescription
topInt32Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area.
leftInt32Represents the horizontal offset of shape from the upper left corner in units of 1/4000 of the chart area.
streamStreamStream object which contains the image data.
widthScaleInt32Scale of image width, a percentage.
heightScaleInt32Scale of image height, a percentage.

Return Value

Returns a Picture object.

See Also