Method CharWidth
CharWidth(char, int)
When implemented by a class, returns width of the given number of specified character.
int CharWidth(char ch, int count)
Parameters
Returns
- int
Width of specified characters.
CharWidth(char, int, out int, bool)
When implemented by a class, returns width of the such number of the specified characters fitting into the given Width.
int CharWidth(char ch, int width, out int count, bool exact)
Parameters
chcharCharacter to calculate width.
widthintThe width that should hold a number of the specified character.
countintReceive number of character that can fit into specified width.
exactboolSpecifies whether the calculating should be precise.
Returns
- int
Width of specified characters.