[]
Gets or sets the value that is encoded as the barcode image.
public string Text { get; set; }
Some encodings support alphanumeric values of any length. Others are limited to numeric values or to a specific set of characters. See the BarCodeType enumeration for details.
If you use characters that are invalid for the current encoding, the object will display a blank image.
The following sample shows how to use the Text property to encode the value "123456" as a Code39-encoded barcode:
RenderBarCode rbc = new RenderBarCode();
rbc.BarCodeType = BarCodeType.Code39;
rbc.Text = "123456";
doc.Body.Children.Add(rbc);