Setting and retrieving property values programmatically in .NET

The dBarScan.NET Components may be operated entirely by setting or retrieving Property values programmatically.

Clicking on the dBarScan Component in the panel under the form when Visual Studio's Properties box is displayed will show the current settings for component's available properties. Most of these may be edited using the Properties box, or may have their values set from within the user's program by statements of the kind

          Barscan1.selLeft=100          Visual Basic

          Barscan1.selLeft=100;                  C#

          Barscan1.set_selLeft(100);  J#

dBarScan Component properties that are set AFTER a barcode has been decoded may be retrieved within user's programs by statements of the kind:

          s= Barscan 1.oData            Visual Basic

          s= Barscan 1.oData;            C#

          s= Barscan 1.get_oData()    J#

In VB or C# properties are assigned or retrieved using the name of the property, while in J# the java-like set_propertyname() or get_propertyname() functions are used.

 

More:

Decoding a barcode image in .NET