Zum Hauptinhalt gehen

Suche

Suche

Display Label Design On Screen

Kommentare

1 Kommentar

  • Avatar
    Fernando Ramos Miracle

    Hello jonattree,

     

    This is certainly possible using our .NET SDks:

     

    1. To enter data to a label you could use the SubString class, for example:

     

    Dim btEngine As New Engine() 
    Dim btFormat As LabelFormatDocument = btEngine.Documents.Open("c:\MyLabel.btw")
    btFormat.SubStrings("Address").Value = "1313 Mockingbird Lane, Anywhere, USA"
    btFormat.SubStrings("Name").Value = "John Doe"
    btFormat.SubStrings("Quantity").Value = "10"
     
    2. To display it on screen you would need to generate a preview of the label with the data already loaded and use your application to show that image on screen. to get the preview you could use one of the following two methods:
     
    ExportPrintPreviewToFile exports a print preview of the label.
     
    ExportImageToFile exports a thumbnail image.
     

    *Note that you'll find further information and examples in BarTender's Help documentation.

     

    In any case, wouldn't it be easier to use our Print Station application that already has this functionality implemented? For more information please take a look at the below white papers:

    http://www.bartenderbarcodesoftware.com/label-software/whitepapers/WhitePaper_WhatsNewInBT92.pdf#PrintStation.pdf

     

    Regards.

    0

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