TextFormattingRunProperties.SetBold(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.