User manual - イメージャライブラリマニュアルver.1.06(2012年3月29日)
Table Of Contents
- 概要
- 動作環境
- 関数
- IMGInit
- IMGDeinit
- IMGConnect
- IMGDisconnect
- IMGSetDecodeMode
- IMGGetDecodeMode
- IMGWaitForDecode
- IMGWaitForDecodeRaw
- IMGStopDecode
- IMGSetDecodeWindow
- IMGGetDecodeWindow
- IMGSetDecodeReverse
- IMGGetDecodeReverse
- IMGGetImage
- IMGStartStream
- IMGGetStreamData
- IMGStopStream
- IMGCaptureSign
- IMGSetAusPost
- IMGGetAusPost
- IMGSetAztec
- IMGGetAztec
- IMGSetBPO
- IMGGetBPO
- IMGSetCanPost
- IMGGetCanPost
- IMGSetCodabar
- IMGGetCodabar
- IMGSetCodablock
- IMGGetCodablock
- IMGSetCode11
- IMGGetCode11
- IMGSetCode128
- IMGGetCode128
- IMGSetCode32
- IMGGetCode32
- IMGSetCode39
- IMGGetCode39
- IMGSetCode49
- IMGGetCode49
- IMGSetCode93
- IMGGetCode93
- IMGSetComposite
- IMGGetComposite
- IMGSetDataMatrix
- IMGGetDataMatrix
- IMGSetDutchPost
- IMGGetDutchPost
- IMGSetEAN13
- IMGGetEAN13
- IMGSetEAN8
- IMGGetEAN8
- IMGSetHX
- IMGGetHX
- IMGSetIATA
- IMGGetIATA
- IMGSetITF
- IMGGetITF
- IMGSetISBT
- IMGGetISBT
- IMGSetMaxicode
- IMGGetMaxicode
- IMGSetMicroPDF
- IMGGetMicroPDF
- IMGSetMSI
- IMGGetMSI
- IMGSetOCR
- IMGGetOCR
- IMGSetPDF417
- IMGGetPDF417
- IMGSetPlanet
- IMGGetPlanet
- IMGSetPostnet
- IMGGetPostnet
- IMGSetQR
- IMGGetQR
- IMGSetRSS
- IMGGetRSS
- IMGSetTLC39
- IMGGetTLC39
- IMGSetUPCA
- IMGGetUPCA
- IMGSetUPCE
- IMGGetUPCE
- IMGSetMesa
- IMGGetMesa
- IMGSetJaPost
- IMGGetJaPost
- IMGAimerOn
- IMGIlluminationOn
- IMGSetAimer
- IMGGetAimer
- IMGSetIllumination
- IMGGetIllumination
- IMGSetIlluminationEx
- IMGGetIlluminationEx
- IMGSetScanMode
- IMGGetScanMode
- IMGSetImagerAPO
- IMGGetImagerAPO
- IMGSetPrintWeight
- IMGGetPrintWeight
- IMGSetLED
- IMGGetLED
- IMGSetBuzzer
- IMGGetBuzzer
- IMGSetVibrator
- IMGGetVibrator
- IMGSetDeliberation
- IMGGetDeliberation
- IMGSetDecodeCenteringWindow
- IMGGetDecodeCenteringWindow
- IMGLoadConfigFile
- IMGSaveConfigFile
- IMGMakeImageFile
- IMGSetDecodePreview
- IMGGetDecodePreview
- IMGStartPreview
- IMGStopPreview
- IMGSetFocus
- IMGGetFocus
- プログラミング上の注意点
- サンプルソースコード

30
3.12 IMGSetDecodeReverse
デコードの白黒反転の有無を設定します。
[C++]
int IMGSetDecodeReverse(
int
nDecodeReverse
)
[Visual Basic]
Public Shared Function IMGSetDecodeReverse( _
ByVal
nDecodeReverse
As Int32 _
) As Int32
[C#]
public static Int32 IMGSetDecodeReverse(
Int32
nDecodeReverse
)
解説
デコードの白黒反転の有無を設定します。
白黒反転に設定すると、黒地に白で印刷したバーコードやシンボルを読み取れる可能性があります。
DeviceEmulator では、設定値を内部変数として格納するため、何も動作しませんが、
IMGGetDecodeReverse 関数を実行することにより、設定値を確認することができます。
パラメータ
nDecodeReverse
デコードの白黒反転の有無を指定します。
IMG_DR_POSITIVE
: 白黒反転していないシンボルを読み取ります(デフォルト)
IMG_DR_NEGATIVE
: 白黒反転しているシンボルを読み取ります
IMG_DR_POSITIVE_NEGATIVE
: 白黒反転したシンボル、反転していないシンボルの両方
を読み取ります
戻り値
IMG_SUCCESS
: 正常終了
IMG_ERR_NOTINITIALIZED
: IMGInit が実行されていない(DT-X8-4x シリーズのみ)
DeviceEmulator では発生しません
IMG_ERR_PARAMETER
: パラメータエラー
Device Emulator では発生しません
FUNCTION_UNSUPPORT
: 未サポートエラー
対応情報
機種
: DT-5200 / DT-X7 / DT-5300 / DT-X8 / IT-9000
ヘッダ
: ImagerLib.h
ライブラリ
: ImagerLib.lib