Add/remove Substring From Labelformatdocument
I am trying to use Bartender .NET SDK to generate Barcode for the data entered by the end user. I am able to create a new labelformatdocument but unable to add/remove substrings to that labelformatdocument using .NET SDK. Please help me in this context. By the way i am using the trail version of bartender 9.4. Is this a concern for not allowing me to add/remove substrings to that labelformatdocument.
0
-
Lorenzo: Currently, it is not possible to create new or modify existing Named Data Sources via automation, other than changing the value of existing items.
-
Sorry, but it is not currently possible to add new label formats, objects or sub-strings via automation. You may only modify already existing items. You should create all label formats, label objects and sub-strings that you might possibly need so that they are there to be made use of. Any objects or sub-strings that are not needed can either be set not to print or have the data set to nothing. 0 -
Hello,
after some years maybe this limitation has been addressed.
The following code will not work, of cours, as "SubStrings" is read-only.
var btEngine = new Engine();
var btFormat = btEngine.Documents.Open(tbDefaultBlank.Text);var lBlankStrings = Enum.GetNames(typeof(DefaultBlankSubStrings));
btFormat.SubStrings = lBlankStrings;btFormat.Save();
Can you provide some other way to customize/create label formats ?
It's an important feature to provide.
Best regards
0
Please sign in to leave a comment.
Comments
3 comments