Share via


FormGroupControl.bold Method

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

Syntax

public int bold([int value])

Run On

Client

Parameters

  • value
    Type: int
    An integer value that specifies the font weight; optional.

Return Value

Type: int
An integer value between 0 (zero) and 9, inclusive.

Remarks

The integer that is returned contains the font weight 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.

See Also

Reference

FormGroupControl Class