Method FromOpenTypeStretch
FromOpenTypeStretch(int)
Creates a new instance of System.Windows.XFontStretch that corresponds to the OpenType usStretchClass value.
public static XFontStretch FromOpenTypeStretch(int stretchValue)
Parameters
stretchValueintAn integer value between one and nine that corresponds to the usStretchValue definition in the OpenType specification.
Returns
- XFontStretch
A new instance of System.Windows.XFontStretch.