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
 

Photometric

Overview

The Photometric property determines how the toolkit interprets a pixel value in a bitmap. A photometric value of 0 means that a pixel value of 0 if considered to represent the color black. A photometric value of 1 means that a pixel value of 0 is considered to represent the color white. This property is only used in conjunction with the ScanBarcodeFromBitmap method. The ScanBarcodeFromDIB method does not refer to this property because the color map is stored within the DIB.

Default value = 0

Visual Basic using the OCX

[form.]SoftekBarcode.Photometric = value

Visual Basic using the DLL

Private Declare Function stGetPhotometric Lib "SoftekBarcode" () As Integer
Private Declare Function stSetPhotometric Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetPhotometric (value)
value = stGetPhotometric ()

Visual Basic using COM

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

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

 

VB.Net using the DLL

Private Declare Function stGetPhotometric Lib "SoftekBarcode" () As Integer
Private Declare Function stSetPhotometric Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetPhotometric (value)
value = stGetPhotometric ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetPhotometric(value)
value = barcode.GetPhotometric()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.Photometric = value
value = barcode.Photometric

Visual C++ Using the OCX

BOOL GetPhotometric() ;
void SetPhotometric(BOOL value);

Visual C++ Using the DLL

BOOL __stdcall stGetPhotometric();
BOOL __stdcall stSetPhotometric(BOOL bNewValue);

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