FormattedText.SetFontStretch Method (FontStretch)
Sets the font stretch value for the entire set of characters in the FormattedText object.
Assembly: PresentationCore (in PresentationCore.dll)
The font stretch value refers to the degree to which a font is stretched on the screen. FontStretch supports type conversion behavior such that static values of the FontStretches class can be used to initialize FontStretch and fill parameters that are type FontStretch. You can also call FromOpenTypeStretch to create a properly initialized FontStretch.
This method sets the font stretch value for the entire text string. To set the font stretch value for a subset of the text string, use the SetFontStretch(FontStretch, Int32, Int32) method.
Available since 3.0