跳到主内容

搜索

搜索

How To Print Barcode Number And Image With C#?

评论

1 条评论

  • Avatar
    Ian Cummings
    版主

    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

请先登录再写评论。