GetCharsInWidth Method
GetCharsInWidth(Int32)
Returns number of characters painted with current font that will fit into specified Width.
Declaration
public virtual int GetCharsInWidth(int width)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | Width to fit characters. |
Returns
Type | Description |
---|---|
Int32 | Number of characters that can fit in. |
Implements
GetCharsInWidth(Int32, Boolean)
Declaration
protected int GetCharsInWidth(int width, bool exact)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | |
Boolean | exact |
Returns
Type | Description |
---|---|
Int32 |