[]
Calculates the height of the content based on the specified width and style.
public int GetHeight(Graphics g, int width, string str, Image img)
| 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. |
| Type | Description |
|---|---|
| int | Calculated height. |