跳到主内容

搜索

搜索

Image Printing Through C# Coding

评论

1 条评论

  • Avatar
    Shotaro Ito

    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

请先登录再写评论。