PageNo
Overview
PageNo is a 1 based index that specifies the page to be scanned in an image. A value of zero indicates that every page will be scanned
Default value = 0
Visual Basic using the OCX
[form.]SoftekBarcode.PageNo = value
Visual Basic using the DLL
Private Declare Function stGetPageNo Lib "SoftekBarcode" () As Integer
Private Declare Function stSetPageNo Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetPageNo (value)
value = stGetPageNo ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.PageNo = value
value = oBar.PageNo
VB.Net using the DLL
Private Declare Function stGetPageNo Lib "SoftekBarcode" () As Short
Private Declare Function stSetPageNo Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetPageNo (value)
value = stGetPageNo ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetPageNo(value)
value = barcode.GetPageNo()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.PageNo = value
value = barcode.PageNo
Visual C++ Using the OCX
short GetPageNo() ;
void SetPageNo(short value);
Visual C++ Using the DLL
short __stdcall stGetPageNo();
short __stdcall stSetPageNo(short nNewValue);
|