[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartRect.GetContentHeight

GetContentHeight Method

GetContentHeight(Graphics, int)

Calculates the chart content height.

Declaration
protected virtual int GetContentHeight(Graphics g, int width)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

int width

The width of chart content.

Returns
Type Description
int

The height of chart content.

GetContentHeight(Graphics, int, string)

Calculates the chart content height.

Declaration
protected virtual int GetContentHeight(Graphics g, int width, string txt)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

int width

The width of chart content.

string txt

The height of chart content.

Returns
Type Description
int

The height of chart content.