跳至主內容

搜尋

搜尋

Passing Of Data From C# To Bartender Template.

評論

3 條評論

  • Avatar
    Jasper Wen
    版主

    I would recommend looking at some of our BarTender .net SDK help documentation and examples. The BarTender .net SDK help documentation can be found under help->BarTender help->Automating BarTender->Automation with the BarTender .net SDK. Also, our BarTender .net SDK examples (in both C# and vb.net) can be found in C:\Program Files\Seagull\BarTender Suite\SDK. Make sure you have the BarTender .net SDK installed as it not installed by default, otherwise you will not be able to access the documentation and examples.

    The main method for passing data from the BarTender .net SDK to the label design to print is using named data sources. In the BarTender label design, you would create named data sources within the properties of the specific object you want to pass data to.

    Then, using the BarTender .net SDK, you would call the SubString Class to reference and assign values to each of these named data sources on the label design.

    0
  • Avatar
    munn red

    Hello, We are trying to achieve the same thing (send data from c# to print labels) for our client. We are successful achieving it when we want to print a label that has only one record. We achieved it just by using the "printAction.Document.NamedDataSourceFields". But the tricky part now is as shown in the below picture we want to print a table like label that has N number of rows (N can be 1 or more). Would you be able to provide info on this how to achieve in 2016 R4 version? It will be the greatest help if you can do so. 

    0
  • Avatar
    Peter Thane

    Sorry not got 2016 anymore, but I think this option maybe there, but perhaps this feature would help

    This maybe 2019 only but you also have the Create Table from Database option here:

     

    0

登入寫評論。