ChartDirector 6.2 (.NET Edition)

Box.getWidth


Usage

[C#] public int getWidth();
[VB] Public Function getWidth() As Integer

Description

Gets the width of the box.

In some cases, the width of a box may be dynamically determined. An example is the width of an LegendBox. For these cases, the width is undefined until the legend box or the entire chart has been laid out (using BaseChart.layout or BaseChart.layoutLegend), or the chart image has been drawn (eg. using BaseChart.makeWebImage, BaseChart.makeImage or BaseChart.makeChart).

Arguments

None

Return Value

The width of the box in pixels.