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
ch
charCharacter to calculate width.
width
intThe width that should hold a number of the specified character.
count
intReceive number of character that can fit into specified width.
exact
boolSpecifies whether the calculating should be precise.
Returns
- int
Width of specified characters.