[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartStyle.GetContentWidth

GetContentWidth Method

GetContentWidth(Graphics, int, string, Image)

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

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

A Graphics object that encapsulates a GDI+ drawing surface.

int height

The content height.

string str

String to measure.

Image img

Image to measure.

Returns
Type Description
int

Calculated width.