TechNet
• Products
• IT Resources
• Training
• Support

# TextAlignments Enumeration

SQL Server 2008 R2

Specifies the horizontal alignment for the text within a report item.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

## Syntax

```public enum TextAlignments
```

### Members

Member nameDescription
DefaultSpecifies that the text alignment is derived from the data type and the peer Direction.
GeneralSpecifies that the text is left-aligned.
LeftSpecifies that the text is center-aligned.
CenterSpecifies the default horizontal text alignment, which is the same as General.
RightSpecifies that the text is right-aligned.