TextFormattingRunProperties.Typeface Property
Gets the typeface for the text.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property Typeface As Typeface
public override Typeface Typeface { get; }
public:
virtual property Typeface^ Typeface {
Typeface^ get () override;
}
abstract Typeface : Typeface with get
override Typeface : Typeface with get
override function get Typeface () : Typeface
Property Value
Type: System.Windows.Media.Typeface
The typeface.
Remarks
Returns the system default Typeface if no typeface is currently set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.