Share via


FormRadioControl.bold Method

Definition

Overloads

bold()

Gets or sets the font weight that is used to display text in the control.

bold(Int32)

bold()

Gets or sets the font weight that is used to display 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 0 (zero) and 9, 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

Applies to

bold(Int32)

public:
 virtual int bold(int _value);
public virtual int bold (int _value);
abstract member bold : int -> int
override this.bold : int -> int
Public Overridable Function bold (_value As Integer) As Integer

Parameters

_value
Int32

The value to assign to the bold setting of the control; optional.

Returns

Applies to