PdfDpi
Overview
PdfDpi is the number of dots-per-inch to be used when converting a pdf file into image format, before scanning for a barcode.
Default value = 300
Visual Basic using the OCX
[form.]SoftekBarcode.PdfDpi = value
Visual Basic using the DLL
Private Declare Function stGetPdfDpi Lib "SoftekBarcode" () As Integer
Private Declare Function stSetPdfDpi Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetPdfDpi (value)
value = stGetPdfDpi ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.PdfDpi = value
value = oBar.PdfDpi
VB.Net using the DLL
Private Declare Function stGetPdfDpi Lib "SoftekBarcode" () As Short
Private Declare Function stSetPdfDpi Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetPdfDpi (value)
value = stGetPdfDpi ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetPdfDpi(value)
value = barcode.GetPdfDpi()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.PdfDpi = value
value = barcode.PdfDpi
Visual C++ Using the OCX
short GetPdfDpi() ;
void SetPdfDpi(short value);
Visual C++ Using the DLL
short __stdcall stGetPdfDpi();
short __stdcall stSetPdfDpi(short nNewValue); |