Passing Of Data From C# To Bartender Template. S’abonner

0
Avatar
Aaron-GF

Below are my sample Bartender Templates. May I know how C# programming pass Name and Part no. to Bartender Templates. 

Hope some one can provide me solution or ideas. Thank you so much.

3 commentaires

0
Avatar
Jasper Wen
Modérateur
Actions pour les commentaires Permalien

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
Actions pour les commentaires Permalien

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
Pete Thane
Actions pour les commentaires Permalien

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:

 

Vous devez vous connecter pour laisser un commentaire.