Serialiazing Programatically
Hi, I want to serialize a label, and have achieved to change the number of serialized labels through the activex but have no idea how to change the increment property of a serialized field.
below is part of my code:
'Declaring a BarTender application variable
Dim btApp As BarTender.Application
'Declaring a format variable
Dim btFormat As BarTender.Format
Try
'Instantiating the BarTender object
btFormat = New BarTender.Format
btApp = New BarTender.Application
btApp.Visible = False
btApp.Window.WindowState = BarTender.BtWindowState.btNormal
btApp.Window.Height = 400
btApp.Window.Width = 650
'Setting the BarTender format to open
btFormat = btApp.Formats.Open("C:\etiquetas\auto2013\xxx.btw", True, "")
' in this way it seems not to work
'btApp.ActiveFormat.NumberSerializedLabels = 10
' making the property numberSerializedLabels a shared substring it works
btApp.ActiveFormat.SetNamedSubStringValue("series", 12)
' ????????? and know how to change the increment of this named substring ?
0
-
In BarTender v10.1 we've added some advanced serialization features, among which you can now set the increment for the serial number by a "named data source". You just need to programmatically modify this "named data source" via your application and your serialization increment can be programmatically modified.
http://www.bartenderbarcodesoftware.com/label-software/whitepapers/WhitePaper_WhatsNewInBT101.pdf
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar