TextFormattingRunProperties.SetItalic Method
Gets a new TextFormattingRunProperties with the properties of this one but with the Italic property set to the italic value.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Function SetItalic ( _
isItalic As Boolean _
) As TextFormattingRunProperties
public TextFormattingRunProperties SetItalic(
bool isItalic
)
public:
TextFormattingRunProperties^ SetItalic(
bool isItalic
)
member SetItalic :
isItalic:bool -> TextFormattingRunProperties
public function SetItalic(
isItalic : boolean
) : TextFormattingRunProperties
Parameters
isItalic
Type: Booleantrue if text formatting is to be italic, otherwise false.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties.
.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.