TextRun Properties

The TextRun type exposes the following members.

Properties
  Name Description
Public property Brush
The brush which should be used to paint the run.
Public property CharScale
The character scaling which should be used to increase or decrease the width of the characters in the text. This is very similar to a horizontal scale transform.
Public property CharSpacing
The character spacing which should be used to increase or decrease the distance between characters. This parameter is sometimes called tracking or kerning. The term kerning is not actually correct because kerning relates to spacing between specific characters. However it is a similar concept.
Public property Font
The font which should be used to draw the text.
Public property Text
The text for the run.
Public property Widths
The width for each of the characters in the run. This value includes the character scaling and spacing so it can be used to determine the advance width for each character in the run.
Top
See Also