跳到主内容

搜索

搜索

Query Prompt Vb.net

评论

1 条评论

  • Avatar
    Ian Cummings
    版主

    This example from the BarTender Help system should set you on the right track:

     

    Dim btEngine As New Engine()
    
    ' Start a BarTender Engine process 
    btEngine.Start()
    
    ' Open a label format 
    Dim btFormat As LabelFormatDocument = btEngine.Documents.Open("c:\MyLabel.btw")
    
    ' Set the QueryPrompt 
    btFormat.DatabaseConnections.QueryPrompts("Nutrition Calorie Data").Value = "40 Calories"
    
    ' Print the label format 
    Dim result As Result = btFormat.Print() 
    
    

     

     

    0

请先登录再写评论。