Partager via


TextFormattingRunProperties.ClearItalic Method

Gets a new TextFormattingRunProperties with all properties the same, but clears the Italic property.

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

Syntax

'Declaration
Public Function ClearItalic As TextFormattingRunProperties
public TextFormattingRunProperties ClearItalic()
public:
TextFormattingRunProperties^ ClearItalic()
member ClearItalic : unit -> TextFormattingRunProperties
public function ClearItalic() : TextFormattingRunProperties

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A new TextFormattingRunProperties with all properties the same, but clears the Italic property.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace