PdfBpp
Overview
PdfBpp is the number of bit-sper-pixel to be used when converting a pdf file into image format, before scanning for a barcode. The value should be either 1, 8 or 24.
Default value = 1
Visual Basic using the OCX
[form.]SoftekBarcode.PdfBpp = value
Visual Basic using the DLL
Private Declare Function stGetPdfBpp Lib "SoftekBarcode" () As Integer
Private Declare Function stSetPdfBpp Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetPdfBpp (value)
value = stGetPdfBpp ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.PdfBpp = value
value = oBar.PdfBpp
VB.Net using the DLL
Private Declare Function stGetPdfBpp Lib "SoftekBarcode" () As Short
Private Declare Function stSetPdfBpp Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetPdfBpp (value)
value = stGetPdfBpp ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetPdfBpp(value)
value = barcode.GetPdfBpp()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.PdfBpp = value
value = barcode.PdfBpp
Visual C++ Using the OCX
short GetPdfBpp() ;
void SetPdfBpp(short value);
Visual C++ Using the DLL
short __stdcall stGetPdfBpp();
short __stdcall stSetPdfBpp(short nNewValue); |