Condividi tramite


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: Typeface
The typeface.

Remarks

Returns the system default Typeface if no typeface is currently set.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace