[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartStyle.GetHeight

GetHeight Method

GetHeight(Graphics, int, string, Image)

Calculates the height of the content based on the specified width and style.

Declaration
public int GetHeight(Graphics g, int width, string str, Image img)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

int width

The content width.

string str

String to measure.

Image img

Image to measure.

Returns
Type Description
int

Calculated height.