See Also

Label Class  | Label Members  | VerticalAlignment  | TextAlignment

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Alignment Property

Gets or sets the alignment of text within the bounds of the control.

[Visual Basic]
Public Property Alignment As TextAlignment
[C#]
public TextAlignment Alignment {get; set;}

Return Type

TextAlignment enum. The default value is TextAlignment.Left. Possible values are:

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.Label1.Alignment = TextAlignment.Left; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.Label1.Alignment = TextAlignment.Left
End Sub

See Also

Label Class  | Label Members  | VerticalAlignment  | TextAlignment

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.