2.293.32 Style.TextAlign

The Style.TextAlign element specifies the horizontal alignment for the text within a report item. This element is optional. If the Style.TextAlign 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 horizontal text alignment, which is the same as "General".

General: Specifies that the text alignment is derived from the data type and the peer Style.Direction element.

Left: Specifies that the text is left-aligned.

Center: Specifies that the text is center-aligned.

Right: Specifies that the text is right-aligned.

If the Style.TextAlign element is not present, its value is interpreted as "Default". If the grandparent element of the Style.TextAlign element is not Paragraph, Textbox, Subtotal, ChartTitle, ChartLegend, ChartLegendTitle, ChartAxis, Axis, ChartAxisTitle, Title, ChartDataLabel, or ChartStripLine, the Style.TextAlign element is ignored.

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

Parent elements

Style

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

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