[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartStyle.GetSize

GetSize Method

GetSize(Graphics, SizeF, string, Image)

Calculates the new size of the content based on the specified size and style.

Declaration
public SizeF GetSize(Graphics g, SizeF sz, string str, Image img)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

SizeF sz

The initial content size.

string str

String to measure.

Image img

Image to measure.

Returns
Type Description
SizeF

Calculated size.

GetSize(Graphics, Size, string, Image)

Calculates the new size of the content based on the specified width and style.

Declaration
public Size GetSize(Graphics g, Size sz, string str, Image img)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

Size sz

The initial content size.

string str

String to measure.

Image img

Image to measure.

Returns
Type Description
Size

Calculated size.