TextFormattingRunProperties.ClearTypeface Method

Gets a new TextFormattingRunProperties with all properties the same except for the typeface.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

声明
Public Function ClearTypeface As TextFormattingRunProperties
public TextFormattingRunProperties ClearTypeface()
public:
TextFormattingRunProperties^ ClearTypeface()
member ClearTypeface : unit -> TextFormattingRunProperties 
public function ClearTypeface() : TextFormattingRunProperties

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties with the typeface property cleared.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace