C#
VB
C++
Sets the font weight.
fontWeight
A System.Windows.FontWeight value that represents the font's weight.
textRange
A System.Windows.Point that represents the text range being set. The X value represents the starting text position of the range. The Y value represents the number of characters in the range.