Skip to main content

Search

Search

Image Printing Through C# Coding

Comments

1 comment

  • 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

Please sign in to leave a comment.