Image Printing Through C# Coding
Hello all
1. I need to print image in label format,which is stored in IIS folder.How can i print through c# coding.
2.I am supposed to use chienese letter both for shared name & its value through c# coding
How i will do?
Thanks in advance
-
Shotaro Ito
★ BarTender Hero ★
1. Assuming you have already able to print text label without image from IIS,
on label design, create picture with data source and name the data source (ex. "PIC1") by small property button at the right of data source name box.
From C# code, you can specify picture path like below:
btFmt.SubStrings["PIC1"].Value = "@c:\inetpub\wwwroot\myapp\pics\image.png";
Make sure the user account used to run BarTender has access permission to the image file.
2. You can use shared Chinese shared name and Chinese shared value.
However I don't recommend to use Chinese share name as that might cause problems in VB Script on label etc.
0
Please sign in to leave a comment.
Comments
1 comment