Labels.NET component > API > Methods > Set Barcode property methods
SetBarcodeText(int iEl, string sText)

Return type: bool

The data for the barcode is set to the string in the sText parameter.

More:

SetBarcodeType(int iEl,int CodeTypeValue)