Share via


FormDateTimeControl.bold Method

Definition

Overloads

bold()

Gets or sets the weight of font used to output text in the control.

bold(Int32)

bold()

Gets or sets the weight of font 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:

  • 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

Returns

Applies to