Share via


TextFormattingRunProperties.SetBold(Boolean) Method

Definition

Gets a new TextFormattingRunProperties with the properties of this one but with the Bold property set to isBold.

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

Parameters

isBold
Boolean

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

Returns

A TextFormattingRunProperties.

Applies to