[]
        
(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)
Protected Overridable Function GetContentHeight(g As Graphics, width As Integer) As Integer
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)
Protected Overridable Function GetContentHeight(g As Graphics, width As Integer, txt As String) As Integer
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.