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
声明
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
- 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.