About "substrings" Object 追蹤

0
Avatar
Legacy Poster

1  How can i understand "substrings" object ? After i use "engine" to open a .btw file ,the count of substrings equals 0, Is there nothing in the .btw file? the .btw file has been attached.

2  How can i change the 'label code(12345678901234567890)' and 'text(样本文本)' in the .btw file through C# code ?

2 意見

0
Avatar
Ian Einman
評論操作 永久連結

In order to access a data source (substring) via C# code, you need to give it a name.  In 10.0 this is done on the Data Source tab, using the Name control.  In older versions of BarTender, it was called "Share/Name".

 

Once it has a name, you can access the SubString object in the collection, or simply use the SetSubString() function to set it.  The key is that you must give the substring a name in your BarTender design for it to be accessible from the SDK.

0
Avatar
Legacy Poster
評論操作 永久連結

Ok, I get it, thanks a lot .

登入寫評論。