ActiveReports3 Request technical support
Text Property
See Also  Example


Gets or sets the barcode text value to be printed as a barcode symbol and caption of the barcode in applicable symbologies.

Syntax

Visual Basic (Declaration) 
Public Property Text As String
Visual Basic (Usage)Copy Code
Dim instance As Barcode
Dim value As String
 
instance.Text = value
 
value = instance.Text
C# 
public string Text {get; set;}

Return Value

Current text string.  Default is an empty string.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.barcode1.Text = "Barcode";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Barcode1.Text = "Barcode"
End Sub

Remarks

ActiveReports fills this value from the bound data field if the control is bound to the data source.

See Also