ShapeCollection.AddTextBoxInChart

ShapeCollection.AddTextBoxInChart method

Adds a textbox to the chart.

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

Return Value

A TextBox object.

See Also