[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartStyle.GetContentHeight

GetContentHeight Method

GetContentHeight(Graphics, int, string, Image)

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

Declaration
public int GetContentHeight(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.