ShapeCollection.AddLabelInChart

ShapeCollection.AddLabelInChart method

Adds a label to the chart.

public Label AddLabelInChart(int top, int left, int height, int width)
ParameterTypeDescription
topInt32Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area.
leftInt32Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area.
heightInt32Represents the height of label, in units of 1/4000 of the chart area.
widthInt32Represents the width of label, in units of 1/4000 of the chart area.

Return Value

A new Label object.

See Also