2.293.24 Style.NumeralVariant

The Style.NumeralVariant element specifies the variant of the digit format to use for text within a report item. This element is optional.

If this element is present, its value MUST be an Integer ([XMLSCHEMA2/2] section 3.3.17) or an expression that evaluates to an Integer. The value of the Style.NumeralVariant element MUST be greater than or equal to 1 and less than or equal to 7. The values of this element are defined as follows:

1: Default (follow Unicode context rules)

2: 0123456789

3: Traditional digits for the script as defined in GDI+. Applicable only to numeral languages with the following cultures: ar, bn, bo, fa, gu, hi, kn, kok, lo, mr, ms, or, pa, sa, ta, te, th, ur

4: Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT

5: Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT

6: Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT (wide versions of regular digits)

7: Applicable only to numeral languages with the following cultures: ko

If the Style.NumeralVariant element is not present, its value is interpreted as 1. If the grandparent element of the Style.NumeralVariant element is not TextRun, Textbox, Chart, LinearGauge, or RadialGauge, the Style.NumeralVariant element is ignored.

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

Parent elements

Style

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

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