Character widths in pixels in the current fontΒΆ

!temp sys.AvgCharWidth,,u4

Average width of character in current font

!temp sys.MaxCharWidth,,u4

Maximum width of character in current font

!temp sys.NumCharWidth,,u4

Width of a numeric character in current font

These variables store the average width of a character, the maximum width of a character and the width of a numeric character in the current print font. All widths are in pixels.

These variables are read-only. They are updated automatically whenever the font changes.


RELATED TOPICS

sys.CharHeight