Select Record To Print Programitically 追蹤

0
Avatar
Legacy Poster

I am using Bartender 10.1 SR1 Automation.   I am using the .Net SDK.  I wrote a little program that loads a format and prints it, that works fine.  The datasource is a text file with 4 records, is there anyway to select the record to print programitically, currently it's printing all four records.  Thanks in advance

 

 

 

Engine btEngine = new Engine();
btEngine.Start();

btEngine.Window.Visible = false;
LabelFormatDocument btFormat = btEngine.Documents.Open(@"G:\\abels\\test.btw');

Result result = btFormat.Print();

btEngine.Stop();

登入寫評論。