Softek Software Barcode Reading Toolkits
HOME PRODUCTS DEVELOPERS STORE ABOUT US
Developer Home
Downloads
Sample Code
Support

Help -> Properties -> LineJump

The Softek Barcode Reader SDK extracts barcode information from images and bitmaps.

LineJump 

Overview

When the OCX scans an image for a barcode string it does not scan every line of the image. The LineJump setting controls how many scan lines are missed between checks for a barcode. A LineJump value of 1 means that every scan line in the image will be checked. A lower value for LineJump will impact the performance of the OCX but may be useful for poor quality images.

Default value = 1

Visual Basic using the OCX

[form.]SoftekBarcode.LineJump = value

Visual Basic using the DLL

Private Declare Function stGetLineJump Lib "SoftekBarcode" () As Long
Private Declare Function stSetLineJump Lib "SoftekBarcode" (ByVal newValue As Long) As Long
stSetLineJump (value)
value = stGetLineJump ()

Visual Basic using COM

oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.LineJump = value
value = oBar.LineJump

VB.Net using the DLL

Private Declare Function stGetLineJump Lib "SoftekBarcode" () As Integer
Private Declare Function stSetLineJump Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetLineJump (value)
value = stGetLineJump ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetLineJump(value)
value = barcode.GetLineJump()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.LineJump = value
value = barcode.LineJump

Visual C++ Using the OCX

long GetLineJump() ;
void SetLineJump (long value);

Visual C++ Using the DLL

long __stdcall stGetLineJump() ;
long __stdcall stSetLineJump (long value);