Class Typeface
Inheritance
Inherited Members
Namespace: Telerik.WinControls.SyntaxEditor.UI
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class Typeface
Constructors
Typeface(FontFamily, FontStyle, FontWeight, FontStretch)
Initializes a new instance of the System.Windows.Media.Typeface class for the specified font family name, System.Windows.Media.Typeface.Style, System.Windows.Media.Typeface.Weight, and System.Windows.Media.Typeface.Stretch values. In addition, a fallback font family is specified.
Declaration
public Typeface(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch)
Parameters
FontFamily
fontFamily
The font family of the typeface. |
FontStyle
style
The style of the typeface. |
FontWeight
weight
The relative weight of the typeface. |
FontStretch
stretch
The degree to which the typeface is stretched. |
Properties
FontFamily
Gets the name of the font family from which the typeface was constructed.
Declaration
public FontFamily FontFamily { get; }
Property Value
FontFamily
The System.Windows.Media.FontFamily from which the typeface was constructed. |
Stretch
Gets the stretch value for the System.Windows.Media.Typeface. The stretch value determines whether a typeface is expanded or condensed when it is displayed.
Declaration
public FontStretch Stretch { get; }
Property Value
FontStretch
A System.Windows.FontStretch value that represents the stretch value for the typeface. |
Style
Gets the style of the System.Windows.Media.Typeface.
Declaration
public FontStyle Style { get; }
Property Value
FontStyle
A System.Windows.FontStyle value that represents the style value for the typeface. |
Weight
Gets the relative weight of the typeface.
Declaration
public FontWeight Weight { get; }
Property Value
FontWeight
A System.Windows.FontWeight value that represents the relative weight of the typeface. |