[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartRect.GetContentSize

GetContentSize Method

GetContentSize(Graphics, Size)

Calculates the chart content size.

Declaration
protected virtual Size GetContentSize(Graphics g, Size sz)
Protected Overridable Function GetContentSize(g As Graphics, sz As Size) As Size
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

Size sz

The size of content area.

Returns
Type Description
Size

The size of chart content.

GetContentSize(Graphics, Size, string)

Calculates the chart content size.

Declaration
protected virtual Size GetContentSize(Graphics g, Size rsz, string txt)
Protected Overridable Function GetContentSize(g As Graphics, rsz As Size, txt As String) As Size
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

Size rsz

The size of content area.

string txt

The text inside of area.

Returns
Type Description
Size

The size of chart content.