See Also

Barcode Class  | Barcode Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Alignment Property

Gets or sets the horizontal alignment of the caption in the control.

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

Return Type

StringAlignment enum.  The default value is StringAlignment.Center.

The possible values are StringAlignment.Near, StringAlignment.Center and StringAlignment.Far.

Example

[C#] 

        private void Detail_Format(object sender, System.EventArgs eArgs) 
        { 
            this.Barcode1.Alignment = System.Drawing.StringAlignment.Near; 
        }

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Barcode1.Alignment = System.Drawing.StringAlignment.Center
End Sub

See Also

Barcode Class  | Barcode Members

 

 


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