Zum Hauptinhalt gehen

Suche

Suche

Image Printing Through C# Coding

Kommentare

1 Kommentar

  • 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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.