[]
        
(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)
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)
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.