C#
VB
C++
Sets the font style.
fontStyle
A System.Windows.FontStyle value that represents the font's style.
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.