Delen via


Textbox Properties - Font Tab (Visual Studio Report Designer)

Use the Font tab of the Textbox Properties dialog box to define font options for the text box.

Options

  • Family
    Type or select a font family or an expression that evaluates to a font family. Click the expression (fx) button to edit the expression.
  • Size
    Type or select a font size or an expression that evaluates to a font size. Click the expression (fx) button to edit the expression.
  • Style
    Type or select a font style or an expression that evaluates to a font style. Click the expression (fx) button to edit the expression. Valid styles are Normal and Italic.
  • Weight
    Type or select a font weight or an expression that evaluates to a font weight. Click the expression (fx) button to edit the expression. The names of the weights displayed in Report Designer differ from the names for the same weights in the Report Definition Language (RDL). If you are using an expression, the expression must evaluate to a valid RDL weight. The following table describes these weights.

    Display name RDL Value

    Lighter

    Lighter

    Thin

    100

    Extra Light

    200

    Light

    300

    Normal

    Normal or 400

    Medium

    500

    Semi-bold

    600

    Bold

    Bold or 700

    Extra Bold

    800

    Heavy

    900

    Bolder

    Bolder

  • Decoration
    Type or select a font decoration or an expression that evaluates to a font decoration. Click the expression (fx) button to edit the expression. Valid decorations are None, Underline, Overline, and LineThrough.

See Also

Reference

Textbox Properties Dialog Box - General Tab (Visual Studio Report Designer)

Concepts

Using Expressions in a Report (Visual Studio Report Designer)
Adding Style and Formatting to a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls

Other Resources

Report Designer User Interface Reference (Visual Studio)