Share via


FormStaticTextControl.bold Method

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

Syntax

public int bold([int value])

Run On

Client

Parameters

  • value
    Type: int

Return Value

Type: int
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.

See Also

Reference

FormStaticTextControl Class