次の方法で共有


TextFormattingRunProperties.SetItalic(Boolean) Method

Definition

Gets a new TextFormattingRunProperties with the properties of this one but with the Italic property set to isItalic.

public:
 Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ SetItalic(bool isItalic);
public Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties SetItalic (bool isItalic);
member this.SetItalic : bool -> Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
Public Function SetItalic (isItalic As Boolean) As TextFormattingRunProperties

Parameters

isItalic
Boolean

Should be set to true if text formatting is to be italic.

Returns

A TextFormattingRunProperties.

Applies to