Skip to main content

Search

Search

How To Print Barcode Number And Image With C#?

Comments

1 comment

  • Avatar
    Ian Cummings
    Moderator

    In your label design set a name to each data source that you wish to set externally, and then from your application code you can make reference to these exposed named data source values.

     

    Engine btEngine = new Engine(); 
    LabelFormatDocument btFormat = btEngine.Documents.Open(@"c:\MyLabel.btw");
    
    btFormat.SubStrings["Address"].Value = "1313 Mockingbird Lane, Anywhere, USA"; 
    btFormat.SubStrings["Name"].Value = "John Doe"; 
    btFormat.SubStrings["Quantity"].Value = "10"; 
    
    
    0

Please sign in to leave a comment.