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