Gets or sets how text is aligned within the field.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(FieldAlignEnum.General)] public FieldAlignEnum Align { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(FieldAlignEnum.General)> _ Public Property Align As FieldAlignEnum Get Set |
Remarks
This property determines how text is aligned within the field.
To control picture alignment, use the PictureAlign()()()() property.
The default value for this property is FieldAlignEnum.General.
Examples
The following example aligns the text in the bottom, center of the field:
Copy CodeVisual Basic
Me.c1r.Fields(0).Align = C1.C1Report.FieldAlignEnum.CenterBottom |
Copy CodeC#
this.c1r.Fields[0].Align = C1.C1Report.FieldAlignEnum.CenterBottom; |