Properties
The way in which you will be able to get and set the properties of the toolkit depend on the interface and the programming language used.
Active X Control (OCX) with Visual Basic and VB.Net
ObjectName.PropertyName = value
e.g SoftekBarcode1.LineJump = 1
Active X Control (OCX) with Visual C++
value = ObjectName.GetPropertyName()
ObjectName.SetPropertyName(value)
Examples:
value = SoftekBarcode1.GetLineJump()
SoftekBarcode1.SetLineJump(value)
SoftekBarcode Class with VB.Net
value = ObjectName.GetPropertyName()
ObjectName.SetPropertyName(value)
Examples:
Dim barcode As SoftekBarcode
......
value = barcode.GetLineJump()
barcode.SetLineJump(value)
DLL with Visual Basic, VB.Net, Visual C++ etc
Use Get and Set functions prefixed with "st":
stSetPropertyName (value)
value = stGetPropertyName()
Examples:
value = stGetLineJump()
stSetLineJump(value)
COM Interface with Visual Basic etc
Use Get and Set methods:
value = ObjectName .GetPropertyName()
ObjectName .SetPropertyName(value)
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.SetLineJump(value)
value = oBar.GetLineJump()
|