FormBuildRichTextControl.bold 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.
Overloads
bold() |
Gets or sets the weight of font that is used to output text in the control. |
bold(Int32) |
bold()
Gets or sets the weight of font that is used to output text in the control.
public:
virtual int bold();
public virtual int bold ();
abstract member bold : unit -> int
override this.bold : unit -> int
Public Overridable Function bold () As Integer
Returns
An integer value between zero and nine, inclusive.
Remarks
The integer that is returned contains the weight of the font as follows:
Value | Font weight |
---|---|
0 | Use the default font weight. |
1 | Thin |
2 | Extra-light |
3 | Light |
4 | Normal |
5 | Medium |
6 | Semibold |
7 | Bold |
8 | Extra-bold |
9 | Heavy |