2.293.18 Style.FontWeight

The Style.FontWeight element specifies the thickness of font for text within a report item. This element is optional. If the Style.FontWeight element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String. The value of this element MUST be one of the following or an expression that evaluates to one of the following:

Default: Specifies the default font thickness, which is the same as "Normal".

Thin: Specifies a font thickness that matches cascading style sheets (CSS) font weight 100.

ExtraLight: Specifies a font thickness that matches CSS font weight 200.

Light: Specifies a font thickness that matches CSS font weight 300.

Normal: Specifies a font thickness that matches CSS font weight 400.

Medium: Specifies a font thickness that matches CSS font weight 500.

SemiBold: Specifies a font thickness that matches CSS font weight 600.

Bold: Specifies a font thickness that matches CSS font weight 700.

ExtraBold: Specifies a font thickness that matches CSS font weight 800.

Heavy: Specifies a font thickness that matches CSS font weight 900.

If the grandparent element of the Style.FontWeight element is not TextRun, Chart, Textbox, Subtotal, ChartTitle, ChartLegend, ChartLegendTitle, ChartAxis, Axis, ChartAxisTitle, Title, ChartDataLabel, ChartStripLine, ScaleLabels, CustomLabel, or PinLabel, the Style.FontWeight element is ignored.

If the Style.FontWeight element is not present, its value is interpreted as "Default".

Following is the parent element of the Style.FontWeight element.

Parent elements

Style

The following is the XML Schema definition of the Style.FontWeight element.

 <xsd:element name="FontWeight" type="xsd:string" minOccurs="0" />