Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact us Request to publish your help manuals Request to remove your help manuals

Introduction
 » Softek Barcode Reader
Barcode Toolkit Overview
 » Toolkit Interfaces
 » Supported Barcode Types
 » Program Sequence
 » Performance Considerations
Barcode Toolkit Examples
 » Visual Basic Using DLL
 » Visual Basic Using OCX
 » VB.Net
 » Borland Delphi
Methods
 » Methods
 » GetBarString
 » GetBarStringPos & GetBarStringRect
 » GetBarStringType
 » GetBarStringDirection
 » ScanBarCode
 » ScanBarCodeFromBitmap
 » ScanBarCodeFromDIB
 » SetScanRect
Properties
 » Properties
 » AllowDuplicateValues
 » BitmapResolution
 » Code39Checksum
 » ColorThreshold
 » ConvertUPCEToEAN13
 » LineJump
 » ErrorCorrection
 » ExtendedCode39
 » MaxLength
 » MinLength
 » MinOccurrence
 » MinSpaceBarWidth
 » MultipleRead
 » NoiseReduction
 » PageNo
 » Pattern
 » PdfBpp
 » PdfDpi
 » Photometric
 » PrefOccurrence
 » QuietZoneSize
 » ReadCodabar
 » ReadCode128
 » ReadCode25
 » ReadCode25ni
 » ReadCode39
 » ReadEAN13
 » ReadEAN8
 » ReadUPCA
 » ReadUPCE
 » ReadPatchCodes
 » ReadPDF417
 » ReadNumeric
 » ScanDirection
 » ShowCheckDigit
 » SkewTolerance
 » TifSplitMode
 » TifSplitPath
 » UseOverSampling
 

ScanDirection

Overview

ScanDirection is a mask that controls the directions in which the barcode reader will look for barcodes in an image, and is built from the following values:

1 = Left to Right
2 = Top to Bottom
4 = Right To Left
8 = Bottom to Top

For example, a value of 5 (1 + 4) means that the reader will look for barcode from left to right and right to left.

Note: This property replaces the Rotation property used in previous versions.

Default value = 15

Visual Basic using the OCX

[form.]SoftekBarcode.ScanDirection = value

Visual Basic using the DLL

Private Declare Function stGetScanDirection Lib "SoftekBarcode" () As Short
Private Declare Function stSetScanDirection Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetScanDirection (value) value = stGetScanDirection ()

Visual Basic using COM

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

Barcode Generator Bookkeeping software Barcode software
Business financial software Billing software Accounting software

 

VB.Net using the DLL

Private Declare Function stGetScanDirection Lib "SoftekBarcode" () As Short
Private Declare Function stSetScanDirection Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetScanDirection (value) value = stGetScanDirection ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetScanDirection(value)
value = barcode.GetScanDirection()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

BOOL GetScanDirection() ;
void SetScanDirection(short value) ;

Visual C++ Using the DLL

BOOL __stdcall stGetScanDirection();
BOOL __stdcall stSetScanDirection(short bNewValue);

Home | Contact us | Request to publish your help manuals | Request to remove your help manuals