[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartRect.GetContentWidth

GetContentWidth Method

GetContentWidth(Graphics, int)

Calculates the chart content width.

Declaration
protected virtual int GetContentWidth(Graphics g, int height)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

int height

The height of chart content.

Returns
Type Description
int

The width of chart content.

GetContentWidth(Graphics, int, string)

Calculates the chart content width.

Declaration
protected virtual int GetContentWidth(Graphics g, int height, string txt)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

int height

The height of chart content.

string txt

The text inside of area.

Returns
Type Description
int