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

'Dichiarazione
Public Overrides ReadOnly Property Typeface As Typeface
    Get
public override Typeface Typeface { get; }
public:
virtual property Typeface^ Typeface {
    Typeface^ get () override;
}
abstract Typeface : Typeface
override Typeface : Typeface
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

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace