SK.gnome.twain
Class Twain

java.lang.Object
  extended by SK.gnome.twain.Twain
All Implemented Interfaces:
java.awt.image.ImageProducer, MorenaConstants, TwainConstants

Deprecated. Use TwainManager and TwainSource instead.

public class Twain
extends java.lang.Object
implements TwainConstants, java.awt.image.ImageProducer

Java wrapper for default TWAIN DS.

For more information about various capabilities see TWAIN Specification (version 1.9).


Field Summary
 
Fields inherited from interface SK.gnome.twain.TwainConstants
BW, CENTIMETERS, CIEXYZ, CMY, CMYK, CONDITION_CODE_STRING, DS_ENABLED, DS_OPEN, DSM_LOADED, DSM_OPEN, GRAY, INCHES, INVALID, LANDSCAPE, PALETTE, PICAS, PIXELS, POINTS, PORTRAIT, PRESESSION, RESULT_CODE_STRING, RGB, ROT0, ROT180, ROT270, ROT90, STATE_STRING, TRANSFER_READY, TRANSFERRING, TWAF_AIFF, TWAF_AU, TWAF_SND, TWAF_WAV, TWAL_ALARM, TWAL_BARCODE, TWAL_DOUBLEFEED, TWAL_FEEDERERROR, TWAL_FEEDERWARNING, TWAL_JAM, TWAL_PATCHCODE, TWAL_POWER, TWAL_SKEW, TWBD_HORZ, TWBD_HORZVERT, TWBD_VERT, TWBD_VERTHORZ, TWBO_LSBFIRST, TWBO_MSBFIRST, TWBR_CUSTHALFTONE, TWBR_DIFFUSION, TWBR_HALFTONES, TWBR_THRESHOLD, TWBT_2OF5DATALOGIC, TWBT_2OF5IATA, TWBT_2OF5INDUSTRIAL, TWBT_2OF5INTERLEAVED, TWBT_2OF5MATRIX, TWBT_2OF5NONINTERLEAVED, TWBT_3OF9, TWBT_3OF9FULLASCII, TWBT_CODABAR, TWBT_CODABARWITHSTARTSTOP, TWBT_CODE128, TWBT_CODE93, TWBT_EAN13, TWBT_EAN8, TWBT_MAXICODE, TWBT_PDF417, TWBT_POSTNET, TWBT_UCC128, TWBT_UPCA, TWBT_UPCE, TWCB_AUTO, TWCB_CLEAR, TWCB_NOCLEAR, TWCP_BITFIELDS, TWCP_GROUP31D, TWCP_GROUP31DEOL, TWCP_GROUP32D, TWCP_GROUP4, TWCP_JBIG, TWCP_JPEG, TWCP_LZW, TWCP_NONE, TWCP_PACKBITS, TWCP_PNG, TWCP_RLE4, TWCP_RLE8, TWDE_CHECKAUTOMATICCAPTURE, TWDE_CHECKBATTERY, TWDE_CHECKFLASH, TWDE_CHECKPOWERSUPPLY, TWDE_CHECKRESOLUTION, TWDE_CUSTOMEVENTS, TWDE_DEVICEADDED, TWDE_DEVICEOFFLINE, TWDE_DEVICEREADY, TWDE_DEVICEREMOVED, TWDE_IMAGECAPTURED, TWDE_IMAGEDELETED, TWDE_LAMPFAILURE, TWDE_PAPERDOUBLEFEED, TWDE_PAPERJAM, TWDE_POWERDOWNNOTIFY, TWDX_1PASSDUPLEX, TWDX_2PASSDUPLEX, TWDX_NONE, TWFA_CENTER, TWFA_LEFT, TWFA_NONE, TWFA_RIGHT, TWFF_BMP, TWFF_EXIF, TWFF_FPX, TWFF_JFIF, TWFF_PICT, TWFF_PNG, TWFF_SPIFF, TWFF_TIFF, TWFF_TIFFMULTI, TWFF_XBM, TWFL_AUTO, TWFL_NONE, TWFL_OFF, TWFL_ON, TWFL_REDEYE, TWFO_FIRSTPAGEFIRST, TWFO_LASTPAGEFIRST, TWFR_BOOK, TWFR_FANFOLD, TWFT_BLACK, TWFT_BLUE, TWFT_CYAN, TWFT_GREEN, TWFT_MAGENTA, TWFT_NONE, TWFT_RED, TWFT_WHITE, TWFT_YELLOW, TWIF_AUTO, TWIF_BANDPASS, TWIF_HIGHPASS, TWIF_LOWPASS, TWIF_NONE, TWIPS, TWJC_JSIC, TWJC_JSIS, TWJC_JSXC, TWJC_JSXS, TWJC_NONE, TWJQ_HIGH, TWJQ_LOW, TWJQ_MEDIUM, TWJQ_UNKNOWN, TWLG_AFRIKAANS, TWLG_ALBANIA, TWLG_ARABIC, TWLG_ARABIC_ALGERIA, TWLG_ARABIC_BAHRAIN, TWLG_ARABIC_EGYPT, TWLG_ARABIC_IRAQ, TWLG_ARABIC_JORDAN, TWLG_ARABIC_KUWAIT, TWLG_ARABIC_LEBANON, TWLG_ARABIC_LIBYA, TWLG_ARABIC_MOROCCO, TWLG_ARABIC_OMAN, TWLG_ARABIC_QATAR, TWLG_ARABIC_SAUDIARABIA, TWLG_ARABIC_SYRIA, TWLG_ARABIC_TUNISIA, TWLG_ARABIC_UAE, TWLG_ARABIC_YEMEN, TWLG_ASSAMESE, TWLG_BASQUE, TWLG_BENGALI, TWLG_BIHARI, TWLG_BODO, TWLG_BULGARIAN, TWLG_BYELORUSSIAN, TWLG_CATALAN, TWLG_CHINESE, TWLG_CHINESE_HONGKONG, TWLG_CHINESE_PRC, TWLG_CHINESE_SIMPLIFIED, TWLG_CHINESE_SINGAPORE, TWLG_CHINESE_TAIWAN, TWLG_CHINESE_TRADITIONAL, TWLG_CROATIA, TWLG_CZECH, TWLG_DAN, TWLG_DANISH, TWLG_DOGRI, TWLG_DUT, TWLG_DUTCH, TWLG_DUTCH_BELGIAN, TWLG_ENG, TWLG_ENGLISH, TWLG_ENGLISH_AUSTRALIAN, TWLG_ENGLISH_CANADIAN, TWLG_ENGLISH_IRELAND, TWLG_ENGLISH_NEWZEALAND, TWLG_ENGLISH_SOUTHAFRICA, TWLG_ENGLISH_UK, TWLG_ENGLISH_USA, TWLG_ESTONIAN, TWLG_FAEROESE, TWLG_FARSI, TWLG_FCF, TWLG_FIN, TWLG_FINNISH, TWLG_FRENCH, TWLG_FRENCH_BELGIAN, TWLG_FRENCH_CANADIAN, TWLG_FRENCH_LUXEMBOURG, TWLG_FRENCH_SWISS, TWLG_FRN, TWLG_GER, TWLG_GERMAN, TWLG_GERMAN_AUSTRIAN, TWLG_GERMAN_LIECHTENSTEIN, TWLG_GERMAN_LUXEMBOURG, TWLG_GERMAN_SWISS, TWLG_GREEK, TWLG_GUJARATI, TWLG_HARYANVI, TWLG_HEBREW, TWLG_HINDI, TWLG_HUNGARIAN, TWLG_ICE, TWLG_ICELANDIC, TWLG_INDONESIAN, TWLG_ITALIAN, TWLG_ITALIAN_SWISS, TWLG_ITN, TWLG_JAPANESE, TWLG_KANNADA, TWLG_KASHMIRI, TWLG_KOREAN, TWLG_KOREAN_JOHAB, TWLG_LATVIAN, TWLG_LITHUANIAN, TWLG_MALAYALAM, TWLG_MARATHI, TWLG_MARWARI, TWLG_MEGHALAYAN, TWLG_MIZO, TWLG_NAGA, TWLG_NOR, TWLG_NORWEGIAN, TWLG_NORWEGIAN_BOKMAL, TWLG_NORWEGIAN_NYNORSK, TWLG_ORISSI, TWLG_POLISH, TWLG_POR, TWLG_PORTUGUESE, TWLG_PORTUGUESE_BRAZIL, TWLG_PUNJABI, TWLG_PUSHTU, TWLG_ROMANIAN, TWLG_RUSSIAN, TWLG_SERBIAN_CYRILLIC, TWLG_SERBIAN_LATIN, TWLG_SIKKIMI, TWLG_SLOVAK, TWLG_SLOVENIAN, TWLG_SPA, TWLG_SPANISH, TWLG_SPANISH_MEXICAN, TWLG_SPANISH_MODERN, TWLG_SWE, TWLG_SWEDISH, TWLG_SWEDISH_FINLAND, TWLG_TAMIL, TWLG_TELUGU, TWLG_THAI, TWLG_TRIPURI, TWLG_TURKISH, TWLG_UKRANIAN, TWLG_URDU, TWLG_USA, TWLG_USERLOCALE, TWLG_VIETNAMESE, TWLP_REFLECTIVE, TWLP_TRANSMISSIVE, TWLS_BLUE, TWLS_GREEN, TWLS_IR, TWLS_NONE, TWLS_RED, TWLS_UV, TWLS_WHITE, TWNF_AUTO, TWNF_LONEPIXEL, TWNF_MAJORITYRULE, TWNF_NONE, TWOR_LANDSCAPE, TWOR_PORTRAIT, TWOR_ROT0, TWOR_ROT180, TWOR_ROT270, TWOR_ROT90, TWOV_ALL, TWOV_AUTO, TWOV_LEFTRIGHT, TWOV_NONE, TWOV_TOPBOTTOM, TWPC_CHUNKY, TWPC_PLANAR, TWPF_CHOCOLATE, TWPF_VANILLA, TWPR_ENDORSERBOTTOMAFTER, TWPR_ENDORSERBOTTOMBEFORE, TWPR_ENDORSERTOPAFTER, TWPR_ENDORSERTOPBEFORE, TWPR_IMPRINTERBOTTOMAFTER, TWPR_IMPRINTERBOTTOMBEFORE, TWPR_IMPRINTERTOPAFTER, TWPR_IMPRINTERTOPBEFORE, TWPT_BW, TWPT_CIEXYZ, TWPT_CMY, TWPT_CMYK, TWPT_GRAY, TWPT_PALETTE, TWPT_RGB, TWPT_YUV, TWPT_YUVK, TWSS_2A0, TWSS_4A0, TWSS_A0, TWSS_A1, TWSS_A10, TWSS_A2, TWSS_A3, TWSS_A4, TWSS_A4LETTER, TWSS_A5, TWSS_A6, TWSS_A7, TWSS_A8, TWSS_A9, TWSS_B3, TWSS_B4, TWSS_B5LETTER, TWSS_B6, TWSS_BUSINESSCARD, TWSS_C0, TWSS_C1, TWSS_C10, TWSS_C2, TWSS_C3, TWSS_C4, TWSS_C5, TWSS_C6, TWSS_C7, TWSS_C8, TWSS_C9, TWSS_ISOB0, TWSS_ISOB1, TWSS_ISOB10, TWSS_ISOB2, TWSS_ISOB3, TWSS_ISOB4, TWSS_ISOB5, TWSS_ISOB6, TWSS_ISOB7, TWSS_ISOB8, TWSS_ISOB9, TWSS_JISB0, TWSS_JISB1, TWSS_JISB10, TWSS_JISB2, TWSS_JISB3, TWSS_JISB4, TWSS_JISB5, TWSS_JISB6, TWSS_JISB7, TWSS_JISB8, TWSS_JISB9, TWSS_NONE, TWSS_USEXECUTIVE, TWSS_USLEDGER, TWSS_USLEGAL, TWSS_USLETTER, TWSS_USSTATEMENT, TWSX_FILE, TWSX_FILE2, TWSX_MEMORY, TWSX_NATIVE, TWTY_BOOL, TWTY_FIX32, TWTY_INT16, TWTY_INT32, TWTY_INT8, TWTY_STR1024, TWTY_STR128, TWTY_STR255, TWTY_STR32, TWTY_STR64, TWTY_UINT16, TWTY_UINT32, TWTY_UINT8, TWUN_CENTIMETERS, TWUN_INCHES, TWUN_PICAS, TWUN_PIXELS, TWUN_POINTS, TWUN_TWIPS, YUV, YUVK
 
Fields inherited from interface SK.gnome.morena.MorenaConstants
MORENA_MESSAGES, VERSION
 
Constructor Summary
Twain()
          Deprecated. Create instance of TWAIN wrapper with system default source selected.
 
Method Summary
 void addConsumer(java.awt.image.ImageConsumer consumer)
          Deprecated. This method is used to register an ImageConsumer with the ImageProducer for access to the image data during a later reconstruction of the Image.
 void clearPage()
          Deprecated. Set ICAP_CLEARPAGE capability value of default source to true.
static void close()
          Deprecated. Explicitly close connection to TWAIN source manager.
 boolean endOfJob()
          Deprecated. Check if there is more pages in current job.
 void feedPage()
          Deprecated. Set ICAP_FEEDPAGE capability value of default source to true.
 int getAlarmVolume()
          Deprecated. Get CAP_ALARMVOLUME capability value.
 int getAudioFileFormat()
          Deprecated. Get ACAP_AUDIOFILEFORMAT capability value.
 int getAudioTransferMech()
          Deprecated. Get ACAP_XFERMECH capability value.
 java.lang.String getAuthor()
          Deprecated. Get CAP_AUTHOR capability value.
 boolean getAutoBright()
          Deprecated. Get ICAP_AUTOBRIGHT capability value.
 boolean getAutoFeed()
          Deprecated. Get CAP_AUTOFEED capability value.
 boolean getAutomaticBorderDetection()
          Deprecated. Get ICAP_AUTOMATICBORDERDETECTION capability value.
 int getAutomaticCapture()
          Deprecated. Get CAP_AUTOMATICCAPTURE capability value.
 boolean getAutomaticDeskew()
          Deprecated. Get ICAP_AUTOMATICDESKEW capability value.
 boolean getAutomaticRotate()
          Deprecated. Get ICAP_AUTOMATICROTATE capability value.
 boolean getAutoScan()
          Deprecated. Get CAP_AUTOSCAN capability value.
 boolean getBarCodeDetectionEnabled()
          Deprecated. Get ICAP_BARCODEDETECTIONENABLED capability value.
 int getBarCodeMaxRetries()
          Deprecated. Get ICAP_BARCODEMAXRETRIES capability value.
 int getBarCodeMaxSearchPriorities()
          Deprecated. Get ICAP_BARCODEMAXSEARCHPRIORITIES capability value.
 int getBarCodeSearchMode()
          Deprecated. Get ICAP_BARCODESEARCHMODE capability value.
 int getBarCodeTimeout()
          Deprecated. Get ICAP_BARCODETIMEOUT capability value.
 int getBatteryMinutes()
          Deprecated. Get CAP_BATTERYMINUTES capability value.
 int getBatteryPercentage()
          Deprecated. Get CAP_BATTERYPERCENTAGE capability value.
 int getBitDepth()
          Deprecated. Get ICAP_BITDEPTH capability value.
 int getBitDepthReduction()
          Deprecated. Get ICAP_BITDEPTHREDUCTION capability value.
 int getBitOrder()
          Deprecated. Get ICAP_BITORDER capability value.
 int getBitOrderCodes()
          Deprecated. Get ICAP_BITORDERCODES capability value.
 double getBrightness()
          Deprecated. Get ICAP_BRIGHTNESS capability value.
 boolean getCameraPreviewUI()
          Deprecated. Get CAP_CAMERAPREVIEWUI capability value.
 java.lang.String getCaption()
          Deprecated. Get CAP_CAPTION capability value.
 int getCCITTKFactor()
          Deprecated. Get ICAP_CCITTKFACTOR capability value.
 int getClearBuffers()
          Deprecated. Get CAP_CLEARBUFFERS capability value.
 int getCompression()
          Deprecated. Get ICAP_COMPRESSION capability value.
 double getContrast()
          Deprecated. Get ICAP_CONTRAST capability value.
 boolean getCustomDSData()
          Deprecated. Get CAP_CUSTOMDSDATA capability value.
 int getDefaultAudioFileFormat()
          Deprecated. Get ACAP_AUDIOFILEFORMAT capability default value.
 int getDefaultAudioTransferMech()
          Deprecated. Get ACAP_XFERMECH capability default value.
 int getDefaultBarCodeMaxRetries()
          Deprecated. Get ICAP_BARCODEMAXRETRIES capability default value.
 int getDefaultBarCodeMaxSearchPriorities()
          Deprecated. Get ICAP_BARCODEMAXSEARCHPRIORITIES capability default value.
 int getDefaultBarCodeSearchMode()
          Deprecated. Get ICAP_BARCODESEARCHMODE capability default value.
 int getDefaultBarCodeTimeout()
          Deprecated. Get ICAP_BARCODETIMEOUT capability default value.
 int getDefaultBitDepth()
          Deprecated. Get ICAP_BITDEPTH capability default value.
 int getDefaultBitDepthReduction()
          Deprecated. Get ICAP_BITDEPTHREDUCTION capability default value.
 int getDefaultBitOrder()
          Deprecated. Get ICAP_BITORDER capability default value.
 int getDefaultBitOrderCodes()
          Deprecated. Get ICAP_BITORDERCODES capability default value.
 double getDefaultBrightness()
          Deprecated. Get ICAP_BRIGHTNESS capability default value.
 int getDefaultCompression()
          Deprecated. Get ICAP_COMPRESSION capability default value.
 double getDefaultContrast()
          Deprecated. Get ICAP_CONTRAST capability default value.
 double getDefaultExposureTime()
          Deprecated. Get ICAP_EXPOSURETIME capability default value.
 int getDefaultFlashUsed()
          Deprecated. Get ICAP_FLASHUSED2 capability default value.
 double getDefaultHighlight()
          Deprecated. Get ICAP_HIGHLIGHT capability default value.
 int getDefaultImageFileFormat()
          Deprecated. Get ICAP_IMAGEFILEFORMAT capability default value.
 int getDefaultImageFilter()
          Deprecated. Get ICAP_IMAGEFILTER capability default value.
 int getDefaultJobControl()
          Deprecated. Get CAP_JOBCONTROL capability default value.
 int getDefaultJPEGPixelType()
          Deprecated. Get ICAP_JPEGPIXELTYPE capability default value.
 int getDefaultJPEGQuality()
          Deprecated. Get ICAP_JPEGQUALITY capability default value.
 boolean getDefaultLampState()
          Deprecated. Get ICAP_LAMPSTATE capability default value.
 int getDefaultLanguage()
          Deprecated. Get CAP_LANGUAGE capability default value.
 int getDefaultLightPath()
          Deprecated. Get ICAP_LIGHTPATH capability default value.
 int getDefaultLightSource()
          Deprecated. Get ICAP_LIGHTSOURCE capability default value.
 int getDefaultMaxBatchBuffers()
          Deprecated. Get CAP_MAXBATCHBUFFERS capability default value.
 int getDefaultNoiseFilter()
          Deprecated. Get ICAP_NOISEFILTER capability default value.
 int getDefaultOrientation()
          Deprecated. Get ICAP_ORIENTATION capability default value.
 int getDefaultOverscan()
          Deprecated. Get ICAP_OVERSCAN capability default value.
 int getDefaultPatchCodeMaxRetries()
          Deprecated. Get ICAP_PATCHCODEMAXRETRIES capability default value.
 int getDefaultPatchCodeMaxSearchPriorities()
          Deprecated. Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability default value.
 int getDefaultPatchCodeSearchMode()
          Deprecated. Get ICAP_PATCHCODESEARCHMODE capability default value.
 int getDefaultPatchCodeTimeout()
          Deprecated. Get ICAP_PATCHCODETIMEOUT capability default value.
 int getDefaultPixelFlavor()
          Deprecated. Get ICAP_PIXELFLAVOR capability default value.
 int getDefaultPixelFlavorCodes()
          Deprecated. Get ICAP_PIXELFLAVORCODES capability default value.
 int getDefaultPixelType()
          Deprecated. Get ICAP_PIXELTYPE capability default value.
 int getDefaultPlanarChunky()
          Deprecated. Get ICAP_PLANARCHUNKY capability default value.
 int getDefaultPowerSupply()
          Deprecated. Get CAP_POWERSUPPLY capability default value.
 int getDefaultPrinter()
          Deprecated. Get CAP_PRINTER capability default value.
 int getDefaultPrinterMode()
          Deprecated. Get CAP_PRINTERMODE capability default value.
 double getDefaultRotation()
          Deprecated. Get ICAP_ROTATION capability default value.
 double getDefaultShadow()
          Deprecated. Get ICAP_SHADOW capability default value.
 int getDefaultSupportedSizes()
          Deprecated. Get ICAP_SUPPORTEDSIZES capability default value.
 double getDefaultThreshold()
          Deprecated. Get ICAP_THRESHOLD capability default value.
 int getDefaultTransferMech()
          Deprecated. Get ICAP_XFERMECH capability default value.
 int getDefaultUnits()
          Deprecated. Get ICAP_UNITS capability default value.
 double getDefaultXNativeResolution()
          Deprecated. Get ICAP_XNATIVERESOLUTION capability default value.
 double getDefaultXResolution()
          Deprecated. Get ICAP_XRESOLUTION capability default value.
 double getDefaultXScaling()
          Deprecated. Get ICAP_XSCALING capability default value.
 double getDefaultYNativeResolution()
          Deprecated. Get ICAP_YNATIVERESOLUTION capability default value.
 double getDefaultYResolution()
          Deprecated. Get ICAP_YRESOLUTION capability default value.
 double getDefaultYScaling()
          Deprecated. Get ICAP_YSCALING capability default value.
 int getDefaultZoomFactor()
          Deprecated. Get ICAP_ZOOMFACTOR capability default value.
 boolean getDeviceOnLine()
          Deprecated. Get CAP_DEVICEONLINE capability value.
 java.lang.String getDeviceTimeDate()
          Deprecated. Get CAP_DEVICETIMEDATE capability value.
 int getDuplex()
          Deprecated. Get CAP_DUPLEX capability value.
 boolean getDuplexEnabled()
          Deprecated. Get CAP_DUPLEXENABLED capability value.
 boolean getEnableDSUIOnly()
          Deprecated. Get CAP_ENABLEDSUIONLY capability value.
 int getEndorser()
          Deprecated. Get CAP_ENDORSER capability value.
 double getExposureTime()
          Deprecated. Get ICAP_EXPOSURETIME capability value.
 boolean getExtImageInfo()
          Deprecated. Get ICAP_EXTIMAGEINFO capability value.
 int getFeederAlignment()
          Deprecated. Get CAP_FEEDERALIGNMENT capability value.
 boolean getFeederEnabled()
          Deprecated. Get CAP_FEEDERENABLED capability value.
 boolean getFeederLoaded()
          Deprecated. Get CAP_FEEDERLOADED capability value.
 int getFeederOrder()
          Deprecated. Get CAP_FEEDERORDER capability value.
 int getFilter()
          Deprecated. Get ICAP_FILTER capability value.
 int getFlashUsed()
          Deprecated. Get ICAP_FLASHUSED2 capability value.
 int getFlipRotation()
          Deprecated. Get ICAP_FLIPROTATION capability value.
 double getGamma()
          Deprecated. Get ICAP_GAMMA capability value.
 java.lang.String getHalftones()
          Deprecated. Get ICAP_HALFTONES capability value.
 double getHighlight()
          Deprecated. Get ICAP_HIGHLIGHT capability value.
 int getImageDataSet()
          Deprecated. Get ICAP_IMAGEDATASET capability value.
 int getImageFileFormat()
          Deprecated. Get ICAP_IMAGEFILEFORMAT capability value.
 int getImageFilter()
          Deprecated. Get ICAP_IMAGEFILTER capability value.
 boolean getIndicators()
          Deprecated. Get CAP_INDICATORS capability value.
 int getJobControl()
          Deprecated. Get CAP_JOBCONTROL capability value.
 int getJPEGPixelType()
          Deprecated. Get ICAP_JPEGPIXELTYPE capability value.
 int getJPEGQuality()
          Deprecated. Get ICAP_JPEGQUALITY capability value.
 boolean getLampState()
          Deprecated. Get ICAP_LAMPSTATE capability value.
 int getLanguage()
          Deprecated. Get CAP_LANGUAGE capability value.
 int getLightPath()
          Deprecated. Get ICAP_LIGHTPATH capability value.
 int getLightSource()
          Deprecated. Get ICAP_LIGHTSOURCE capability value.
 int getMaxBatchBuffers()
          Deprecated. Get CAP_MAXBATCHBUFFERS capability value.
 double getMinimumHeight()
          Deprecated. Get ICAP_MINIMUMHEIGHT capability value.
 double getMinimumWidth()
          Deprecated. Get ICAP_MINIMUMWIDTH capability value.
 int getNoiseFilter()
          Deprecated. Get ICAP_NOISEFILTER capability value.
 int getOrientation()
          Deprecated. Get ICAP_ORIENTATION capability value.
 int getOverscan()
          Deprecated. Get ICAP_OVERSCAN capability value.
 boolean getPaperDetectable()
          Deprecated. Get CAP_PAPERDETECTABLE capability value.
 boolean getPatchCodeDetectionEnabled()
          Deprecated. Get ICAP_PATCHCODEDETECTIONENABLED capability value.
 int getPatchCodeMaxRetries()
          Deprecated. Get ICAP_PATCHCODEMAXRETRIES capability value.
 int getPatchCodeMaxSearchPriorities()
          Deprecated. Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability value.
 int getPatchCodeSearchMode()
          Deprecated. Get ICAP_PATCHCODESEARCHMODE capability value.
 int getPatchCodeTimeout()
          Deprecated. Get ICAP_PATCHCODETIMEOUT capability value.
 double getPhysicalHeight()
          Deprecated. Get ICAP_PHYSICALHEIGHT capability value.
 double getPhysicalWidth()
          Deprecated. Get ICAP_PHYSICALWIDTH capability value.
 int getPixelFlavor()
          Deprecated. Get ICAP_PIXELFLAVOR capability value.
 int getPixelFlavorCodes()
          Deprecated. Get ICAP_PIXELFLAVORCODES capability value.
 int getPixelType()
          Deprecated. Get ICAP_PIXELTYPE capability value.
 int getPlanarChunky()
          Deprecated. Get ICAP_PLANARCHUNKY capability value.
 int getPowerSupply()
          Deprecated. Get CAP_POWERSUPPLY capability value.
 int getPrinter()
          Deprecated. Get CAP_PRINTER capability value.
 boolean getPrinterEnabled()
          Deprecated. Get CAP_PRINTERENABLED capability value.
 int getPrinterIndex()
          Deprecated. Get CAP_PRINTERINDEX capability value.
 int getPrinterMode()
          Deprecated. Get CAP_PRINTERMODE capability value.
 java.lang.String getPrinterString()
          Deprecated. Get CAP_PRINTERSTRING capability value.
 java.lang.String getPrinterSuffix()
          Deprecated. Get CAP_PRINTERSUFFIX capability value.
 double getRotation()
          Deprecated. Get ICAP_ROTATION capability value.
 java.lang.String getSerialNumber()
          Deprecated. Get CAP_SERIALNUMBER capability value.
 double getShadow()
          Deprecated. Get ICAP_SHADOW capability value.
 int[] getSupportedAudioFileFormat()
          Deprecated. Get ACAP_AUDIOFILEFORMAT capability supported values.
 int[] getSupportedAudioTransferMech()
          Deprecated. Get ACAP_XFERMECH capability supported values.
 int[] getSupportedBarCodeMaxRetries()
          Deprecated. Get ICAP_BARCODEMAXRETRIES capability supported values.
 int[] getSupportedBarCodeMaxSearchPriorities()
          Deprecated. Get ICAP_BARCODEMAXSEARCHPRIORITIES capability supported values.
 int[] getSupportedBarCodeSearchMode()
          Deprecated. Get ICAP_BARCODESEARCHMODE capability supported values.
 int[] getSupportedBarCodeTimeout()
          Deprecated. Get ICAP_BARCODETIMEOUT capability supported values.
 int[] getSupportedBitDepth()
          Deprecated. Get ICAP_BITDEPTH capability supported values.
 int[] getSupportedBitDepthReduction()
          Deprecated. Get ICAP_BITDEPTHREDUCTION capability supported values.
 int[] getSupportedBitOrder()
          Deprecated. Get ICAP_BITORDER capability supported values.
 int[] getSupportedBitOrderCodes()
          Deprecated. Get ICAP_BITORDERCODES capability supported values.
 double[] getSupportedBrightness()
          Deprecated. Get ICAP_BRIGHTNESS capability supported values.
 int[] getSupportedCompression()
          Deprecated. Get ICAP_COMPRESSION capability supported values.
 double[] getSupportedContrast()
          Deprecated. Get ICAP_CONTRAST capability supported values.
 double[] getSupportedExposureTime()
          Deprecated. Get ICAP_EXPOSURETIME capability supported values.
 int[] getSupportedFlashUsed()
          Deprecated. Get ICAP_FLASHUSED2 capability supported values.
 double[] getSupportedHighlight()
          Deprecated. Get ICAP_HIGHLIGHT capability supported values.
 int[] getSupportedImageFileFormat()
          Deprecated. Get ICAP_IMAGEFILEFORMAT capability supported values.
 int[] getSupportedImageFilter()
          Deprecated. Get ICAP_IMAGEFILTER capability supported values.
 int[] getSupportedJobControl()
          Deprecated. Get CAP_JOBCONTROL capability supported values.
 int[] getSupportedJPEGPixelType()
          Deprecated. Get ICAP_JPEGPIXELTYPE capability supported values.
 int[] getSupportedJPEGQuality()
          Deprecated. Get ICAP_JPEGQUALITY capability supported values.
 boolean[] getSupportedLampState()
          Deprecated. Get ICAP_LAMPSTATE capability supported values.
 int[] getSupportedLanguage()
          Deprecated. Get CAP_LANGUAGE capability supported values.
 int[] getSupportedLightPath()
          Deprecated. Get ICAP_LIGHTPATH capability supported values.
 int[] getSupportedLightSource()
          Deprecated. Get ICAP_LIGHTSOURCE capability supported values.
 int[] getSupportedMaxBatchBuffers()
          Deprecated. Get CAP_MAXBATCHBUFFERS capability supported values.
 int[] getSupportedNoiseFilter()
          Deprecated. Get ICAP_NOISEFILTER capability supported values.
 int[] getSupportedOrientation()
          Deprecated. Get ICAP_ORIENTATION capability supported values.
 int[] getSupportedOverscan()
          Deprecated. Get ICAP_OVERSCAN capability supported values.
 int[] getSupportedPatchCodeMaxRetries()
          Deprecated. Get ICAP_PATCHCODEMAXRETRIES capability supported values.
 int[] getSupportedPatchCodeMaxSearchPriorities()
          Deprecated. Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability supported values.
 int[] getSupportedPatchCodeSearchMode()
          Deprecated. Get ICAP_PATCHCODESEARCHMODE capability supported values.
 int[] getSupportedPatchCodeTimeout()
          Deprecated. Get ICAP_PATCHCODETIMEOUT capability supported values.
 int getSupportedPatchCodeTypes()
          Deprecated. Get ICAP_SUPPORTEDPATCHCODETYPES capability value.
 int[] getSupportedPixelFlavor()
          Deprecated. Get ICAP_PIXELFLAVOR capability supported values.
 int[] getSupportedPixelFlavorCodes()
          Deprecated. Get ICAP_PIXELFLAVORCODES capability supported values.
 int[] getSupportedPixelType()
          Deprecated. Get ICAP_PIXELTYPE capability supported values.
 int[] getSupportedPlanarChunky()
          Deprecated. Get ICAP_PLANARCHUNKY capability supported values.
 int[] getSupportedPowerSupply()
          Deprecated. Get CAP_POWERSUPPLY capability supported values.
 int[] getSupportedPrinter()
          Deprecated. Get CAP_PRINTER capability supported values.
 int[] getSupportedPrinterMode()
          Deprecated. Get CAP_PRINTERMODE capability supported values.
 double[] getSupportedRotation()
          Deprecated. Get ICAP_ROTATION capability supported values.
 double[] getSupportedShadow()
          Deprecated. Get ICAP_SHADOW capability supported values.
 int getSupportedSizes()
          Deprecated. Get ICAP_SUPPORTEDSIZES capability value.
 int[] getSupportedSupportedSizes()
          Deprecated. Get ICAP_SUPPORTEDSIZES capability supported values.
 double[] getSupportedThreshold()
          Deprecated. Get ICAP_THRESHOLD capability supported values.
 int[] getSupportedTransferMech()
          Deprecated. Get ICAP_XFERMECH capability supported values.
 int[] getSupportedUnits()
          Deprecated. Get ICAP_UNITS capability supported values.
 double[] getSupportedXNativeResolution()
          Deprecated. Get ICAP_XNATIVERESOLUTION capability supported values.
 double[] getSupportedXResolution()
          Deprecated. Get ICAP_XRESOLUTION capability supported values.
 double[] getSupportedXScaling()
          Deprecated. Get ICAP_XSCALING capability supported values.
 double[] getSupportedYNativeResolution()
          Deprecated. Get ICAP_YNATIVERESOLUTION capability supported values.
 double[] getSupportedYResolution()
          Deprecated. Get ICAP_YRESOLUTION capability supported values.
 double[] getSupportedYScaling()
          Deprecated. Get ICAP_YSCALING capability supported values.
 int[] getSupportedZoomFactor()
          Deprecated. Get ICAP_ZOOMFACTOR capability supported values.
 double getThreshold()
          Deprecated. Get ICAP_THRESHOLD capability value.
 boolean getThumbnailsEnabled()
          Deprecated. Get CAP_THUMBNAILSENABLED capability value.
 int getTimeBeforeFirstCapture()
          Deprecated. Get CAP_TIMEBEFOREFIRSTCAPTURE capability value.
 int getTimeBetweenCaptures()
          Deprecated. Get CAP_TIMEBETWEENCAPTURES capability value.
 java.lang.String getTimeDate()
          Deprecated. Get CAP_TIMEDATE capability value.
 int getTimeFill()
          Deprecated. Get ICAP_TIMEFILL capability value.
 int getTransferCount()
          Deprecated. Get CAP_XFERCOUNT capability value.
 int getTransferMech()
          Deprecated. Get ICAP_XFERMECH capability value.
 boolean getUIControllable()
          Deprecated. Get CAP_UICONTROLLABLE capability value.
 boolean getUndefinedImageSize()
          Deprecated. Get ICAP_UNDEFINEDIMAGESIZE capability value.
 int getUnits()
          Deprecated. Get ICAP_UNITS capability value.
 double getXNativeResolution()
          Deprecated. Get ICAP_XNATIVERESOLUTION capability value.
 double getXResolution()
          Deprecated. Get ICAP_XRESOLUTION capability value.
 double getXScaling()
          Deprecated. Get ICAP_XSCALING capability value.
 double getYNativeResolution()
          Deprecated. Get ICAP_YNATIVERESOLUTION capability value.
 double getYResolution()
          Deprecated. Get ICAP_YRESOLUTION capability value.
 double getYScaling()
          Deprecated. Get ICAP_YSCALING capability value.
 int getZoomFactor()
          Deprecated. Get ICAP_ZOOMFACTOR capability value.
 boolean hasMoreImages()
          Deprecated. Check if there is more images to transfer.
 boolean isConsumer(java.awt.image.ImageConsumer consumer)
          Deprecated. This method determines if a given ImageConsumer object is currently registered with this ImageProducer as one of its consumers.
 void maskBadValueException(boolean mask)
          Deprecated. Masks some TwainException.
maskBadValueException(true) masks all TwainException raised setCapability()/getCapability() methods by because of TWRC_FAILURE/TWCC_BADVALUE result/condition code until maskBadValueException(false) is invoked.
 void maskUnsupportedCapabilityException(boolean mask)
          Deprecated. Masks some TwainException.
maskUnsupportedCapabilityException(true) masks all TwainException raised setCapability()/getCapability() methods by because of TWRC_FAILURE/TWCC_CAPUNSUPPORTED result/condition code until maskUnsupportedCapabilityException(false) is invoked.
 void removeConsumer(java.awt.image.ImageConsumer consumer)
          Deprecated. This method removes the given ImageConsumer object from the list of consumers currently registered to receive image data.
 void requestTopDownLeftRightResend(java.awt.image.ImageConsumer consumer)
          Deprecated. Not used.
 void rewindPage()
          Deprecated. Set ICAP_REWINDPAGE capability value of default source to true.
 void selectSource()
          Deprecated. Open dialog box with list of available sources to select default source.
 void setAlarmVolume(int value)
          Deprecated. Set CAP_ALARMVOLUME capability value.
 void setAudioFileFormat(int value)
          Deprecated. Set ACAP_AUDIOFILEFORMAT capability value.
 void setAudioTransferMech(int value)
          Deprecated. Set ACAP_XFERMECH capability value.
 void setAuthor(java.lang.String value)
          Deprecated. Set CAP_AUTHOR capability value.
 void setAutoBright(boolean value)
          Deprecated. Set ICAP_AUTOBRIGHT capability value.
 void setAutoFeed(boolean value)
          Deprecated. Set CAP_AUTOFEED capability value.
 void setAutomaticBorderDetection(boolean value)
          Deprecated. Set ICAP_AUTOMATICBORDERDETECTION capability value.
 void setAutomaticCapture(int value)
          Deprecated. Set CAP_AUTOMATICCAPTURE capability value.
 void setAutomaticDeskew(boolean value)
          Deprecated. Set ICAP_AUTOMATICDESKEW capability value.
 void setAutomaticRotate(boolean value)
          Deprecated. Set ICAP_AUTOMATICROTATE capability value.
 void setAutoScan(boolean value)
          Deprecated. Set CAP_AUTOSCAN capability value.
 void setBarCodeDetectionEnabled(boolean value)
          Deprecated. Set ICAP_BARCODEDETECTIONENABLED capability value.
 void setBarCodeMaxRetries(int value)
          Deprecated. Set ICAP_BARCODEMAXRETRIES capability value.
 void setBarCodeMaxSearchPriorities(int value)
          Deprecated. Set ICAP_BARCODEMAXSEARCHPRIORITIES capability value.
 void setBarCodeSearchMode(int value)
          Deprecated. Set ICAP_BARCODESEARCHMODE capability value.
 void setBarCodeTimeout(int value)
          Deprecated. Set ICAP_BARCODETIMEOUT capability value.
 void setBehaviorMask(int mask)
          Deprecated. Sets JavaTwain behavior.
 void setBitDepth(int value)
          Deprecated. Set ICAP_BITDEPTH capability value.
 void setBitDepthReduction(int value)
          Deprecated. Set ICAP_BITDEPTHREDUCTION capability value.
 void setBitOrder(int value)
          Deprecated. Set ICAP_BITORDER capability value.
 void setBitOrderCodes(int value)
          Deprecated. Set ICAP_BITORDERCODES capability value.
 void setBrightness(double value)
          Deprecated. Set ICAP_BRIGHTNESS capability value.
 void setCaption(java.lang.String value)
          Deprecated. Set CAP_CAPTION capability value.
 void setCCITTKFactor(int value)
          Deprecated. Set ICAP_CCITTKFACTOR capability value.
 void setClearBuffers(int value)
          Deprecated. Set CAP_CLEARBUFFERS capability value.
 void setCompression(int value)
          Deprecated. Set ICAP_COMPRESSION capability value.
 void setContrast(double value)
          Deprecated. Set ICAP_CONTRAST capability value.
 void setDeviceTimeDate(java.lang.String value)
          Deprecated. Set CAP_DEVICETIMEDATE capability value.
 void setDuplexEnabled(boolean value)
          Deprecated. Set CAP_DUPLEXENABLED capability value.
 void setEndorser(int value)
          Deprecated. Set CAP_ENDORSER capability value.
 void setExposureTime(double value)
          Deprecated. Set ICAP_EXPOSURETIME capability value.
 void setExtImageInfo(boolean value)
          Deprecated. Set ICAP_EXTIMAGEINFO capability value.
 void setFeederAlignment(int value)
          Deprecated. Set CAP_FEEDERALIGNMENT capability value.
 void setFeederEnabled(boolean value)
          Deprecated. Set CAP_FEEDERENABLED capability value.
 void setFeederOrder(int value)
          Deprecated. Set CAP_FEEDERORDER capability value.
 void setFilter(int value)
          Deprecated. Set ICAP_FILTER capability value.
 void setFlashUsed(int value)
          Deprecated. Set ICAP_FLASHUSED2 capability value.
 void setFlipRotation(int value)
          Deprecated. Set ICAP_FLIPROTATION capability value.
 void setFrame(double left, double top, double right, double bottom)
          Deprecated. Select frame for image acquire.
 void setGamma(double value)
          Deprecated. Set ICAP_GAMMA capability value.
 void setHalftones(java.lang.String value)
          Deprecated. Set ICAP_HALFTONES capability value.
 void setHighlight(double value)
          Deprecated. Set ICAP_HIGHLIGHT capability value.
 void setImageDataSet(int value)
          Deprecated. Set ICAP_IMAGEDATASET capability value.
 void setImageFileFormat(int value)
          Deprecated. Set ICAP_IMAGEFILEFORMAT capability value.
 void setImageFilter(int value)
          Deprecated. Set ICAP_IMAGEFILTER capability value.
 void setIndicators(boolean value)
          Deprecated. Set CAP_INDICATORS capability value.
 void setJobControl(int value)
          Deprecated. Set CAP_JOBCONTROL capability value.
 void setJPEGPixelType(int value)
          Deprecated. Set ICAP_JPEGPIXELTYPE capability value.
 void setJPEGQuality(int value)
          Deprecated. Set ICAP_JPEGQUALITY capability value.
 void setLampState(boolean value)
          Deprecated. Set ICAP_LAMPSTATE capability value.
 void setLanguage(int value)
          Deprecated. Set CAP_LANGUAGE capability value.
 void setLightPath(int value)
          Deprecated. Set ICAP_LIGHTPATH capability value.
 void setLightSource(int value)
          Deprecated. Set ICAP_LIGHTSOURCE capability value.
 void setMaxBatchBuffers(int value)
          Deprecated. Set CAP_MAXBATCHBUFFERS capability value.
 void setNoiseFilter(int value)
          Deprecated. Set ICAP_NOISEFILTER capability value.
 void setOrientation(int value)
          Deprecated. Set ICAP_ORIENTATION capability value.
 void setOverscan(int value)
          Deprecated. Set ICAP_OVERSCAN capability value.
 void setPatchCodeDetectionEnabled(boolean value)
          Deprecated. Set ICAP_PATCHCODEDETECTIONENABLED capability value.
 void setPatchCodeMaxRetries(int value)
          Deprecated. Set ICAP_PATCHCODEMAXRETRIES capability value.
 void setPatchCodeMaxSearchPriorities(int value)
          Deprecated. Set ICAP_PATCHCODEMAXSEARCHPRIORITIES capability value.
 void setPatchCodeSearchMode(int value)
          Deprecated. Set ICAP_PATCHCODESEARCHMODE capability value.
 void setPatchCodeTimeout(int value)
          Deprecated. Set ICAP_PATCHCODETIMEOUT capability value.
 void setPixelFlavor(int value)
          Deprecated. Set ICAP_PIXELFLAVOR capability value.
 void setPixelFlavorCodes(int value)
          Deprecated. Set ICAP_PIXELFLAVORCODES capability value.
 void setPixelType(int value)
          Deprecated. Set ICAP_PIXELTYPE capability value.
 void setPlanarChunky(int value)
          Deprecated. Set ICAP_PLANARCHUNKY capability value.
 void setPrinter(int value)
          Deprecated. Set CAP_PRINTER capability value.
 void setPrinterEnabled(boolean value)
          Deprecated. Set CAP_PRINTERENABLED capability value.
 void setPrinterIndex(int value)
          Deprecated. Set CAP_PRINTERINDEX capability value.
 void setPrinterMode(int value)
          Deprecated. Set CAP_PRINTERMODE capability value.
 void setPrinterString(java.lang.String value)
          Deprecated. Set CAP_PRINTERSTRING capability value.
 void setPrinterSuffix(java.lang.String value)
          Deprecated. Set CAP_PRINTERSUFFIX capability value.
 void setRotation(double value)
          Deprecated. Set ICAP_ROTATION capability value.
 void setShadow(double value)
          Deprecated. Set ICAP_SHADOW capability value.
 void setSupportedSizes(int value)
          Deprecated. Set ICAP_SUPPORTEDSIZES capability value.
 void setThreshold(double value)
          Deprecated. Set ICAP_THRESHOLD capability value.
 void setThumbnailsEnabled(boolean value)
          Deprecated. Set CAP_THUMBNAILSENABLED capability value.
 void setTimeBeforeFirstCapture(int value)
          Deprecated. Set CAP_TIMEBEFOREFIRSTCAPTURE capability value.
 void setTimeBetweenCaptures(int value)
          Deprecated. Set CAP_TIMEBETWEENCAPTURES capability value.
 void setTimeFill(int value)
          Deprecated. Set ICAP_TIMEFILL capability value.
 void setTransferCount(int value)
          Deprecated. Set CAP_XFERCOUNT capability value.
 void setTransferMech(int value)
          Deprecated. Set ICAP_XFERMECH capability value.
 void setUndefinedImageSize(boolean value)
          Deprecated. Set ICAP_UNDEFINEDIMAGESIZE capability value.
 void setUnits(int value)
          Deprecated. Set ICAP_UNITS capability value.
 void setVisible(boolean visibleUI)
          Deprecated. Make source user interface visible/hidden during image acquire.
 void setXResolution(double value)
          Deprecated. Set ICAP_XRESOLUTION capability value.
 void setXScaling(double value)
          Deprecated. Set ICAP_XSCALING capability value.
 void setYResolution(double value)
          Deprecated. Set ICAP_YRESOLUTION capability value.
 void setYScaling(double value)
          Deprecated. Set ICAP_YSCALING capability value.
 void setZoomFactor(int value)
          Deprecated. Set ICAP_ZOOMFACTOR capability value.
 void startProduction(java.awt.image.ImageConsumer consumer)
          Deprecated. This method both registers the given ImageConsumer object as a consumer and starts an immediate reconstruction of the image data which will then be delivered to this consumer and any other consumer which may have already been registered with the producer.
 java.lang.String toString()
          Deprecated. Get name of default source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Twain

public Twain()
      throws TwainException
Deprecated. 
Create instance of TWAIN wrapper with system default source selected.

Throws:
TwainException
Method Detail

toString

public java.lang.String toString()
Deprecated. 
Get name of default source.

Overrides:
toString in class java.lang.Object

selectSource

public void selectSource()
                  throws TwainException
Deprecated. 
Open dialog box with list of available sources to select default source.

Throws:
TwainException

maskUnsupportedCapabilityException

public void maskUnsupportedCapabilityException(boolean mask)
                                        throws TwainException
Deprecated. 
Masks some TwainException.
maskUnsupportedCapabilityException(true) masks all TwainException raised setCapability()/getCapability() methods by because of TWRC_FAILURE/TWCC_CAPUNSUPPORTED result/condition code until maskUnsupportedCapabilityException(false) is invoked.

Throws:
TwainException

maskBadValueException

public void maskBadValueException(boolean mask)
                           throws TwainException
Deprecated. 
Masks some TwainException.
maskBadValueException(true) masks all TwainException raised setCapability()/getCapability() methods by because of TWRC_FAILURE/TWCC_BADVALUE result/condition code until maskBadValueException(false) is invoked.

Throws:
TwainException

setBehaviorMask

public void setBehaviorMask(int mask)
                     throws TwainException
Deprecated. 
Sets JavaTwain behavior.

Throws:
TwainException

hasMoreImages

public boolean hasMoreImages()
                      throws TwainException
Deprecated. 
Check if there is more images to transfer.

Throws:
TwainException

endOfJob

public boolean endOfJob()
                 throws TwainException
Deprecated. 
Check if there is more pages in current job.

Throws:
TwainException

setVisible

public void setVisible(boolean visibleUI)
                throws TwainException
Deprecated. 
Make source user interface visible/hidden during image acquire.

Throws:
TwainException

close

public static void close()
                  throws TwainException
Deprecated. 
Explicitly close connection to TWAIN source manager.

Throws:
TwainException

setFrame

public void setFrame(double left,
                     double top,
                     double right,
                     double bottom)
              throws TwainException
Deprecated. 
Select frame for image acquire.

Throws:
TwainException

clearPage

public void clearPage()
               throws TwainException
Deprecated. 
Set ICAP_CLEARPAGE capability value of default source to true.

Throws:
TwainException

feedPage

public void feedPage()
              throws TwainException
Deprecated. 
Set ICAP_FEEDPAGE capability value of default source to true.

Throws:
TwainException

rewindPage

public void rewindPage()
                throws TwainException
Deprecated. 
Set ICAP_REWINDPAGE capability value of default source to true.

Throws:
TwainException

getAudioFileFormat

public int getAudioFileFormat()
                       throws TwainException
Deprecated. 
Get ACAP_AUDIOFILEFORMAT capability value.

Throws:
TwainException

getSupportedAudioFileFormat

public int[] getSupportedAudioFileFormat()
                                  throws TwainException
Deprecated. 
Get ACAP_AUDIOFILEFORMAT capability supported values.

Throws:
TwainException

getDefaultAudioFileFormat

public int getDefaultAudioFileFormat()
                              throws TwainException
Deprecated. 
Get ACAP_AUDIOFILEFORMAT capability default value.

Throws:
TwainException

setAudioFileFormat

public void setAudioFileFormat(int value)
                        throws TwainException
Deprecated. 
Set ACAP_AUDIOFILEFORMAT capability value.

Throws:
TwainException

getAudioTransferMech

public int getAudioTransferMech()
                         throws TwainException
Deprecated. 
Get ACAP_XFERMECH capability value.

Throws:
TwainException

getSupportedAudioTransferMech

public int[] getSupportedAudioTransferMech()
                                    throws TwainException
Deprecated. 
Get ACAP_XFERMECH capability supported values.

Throws:
TwainException

getDefaultAudioTransferMech

public int getDefaultAudioTransferMech()
                                throws TwainException
Deprecated. 
Get ACAP_XFERMECH capability default value.

Throws:
TwainException

setAudioTransferMech

public void setAudioTransferMech(int value)
                          throws TwainException
Deprecated. 
Set ACAP_XFERMECH capability value.

Throws:
TwainException

getAlarmVolume

public int getAlarmVolume()
                   throws TwainException
Deprecated. 
Get CAP_ALARMVOLUME capability value.

Throws:
TwainException

setAlarmVolume

public void setAlarmVolume(int value)
                    throws TwainException
Deprecated. 
Set CAP_ALARMVOLUME capability value.

Throws:
TwainException

getAuthor

public java.lang.String getAuthor()
                           throws TwainException
Deprecated. 
Get CAP_AUTHOR capability value.

Throws:
TwainException

setAuthor

public void setAuthor(java.lang.String value)
               throws TwainException
Deprecated. 
Set CAP_AUTHOR capability value.

Throws:
TwainException

getAutoFeed

public boolean getAutoFeed()
                    throws TwainException
Deprecated. 
Get CAP_AUTOFEED capability value.

Throws:
TwainException

setAutoFeed

public void setAutoFeed(boolean value)
                 throws TwainException
Deprecated. 
Set CAP_AUTOFEED capability value.

Throws:
TwainException

getAutomaticCapture

public int getAutomaticCapture()
                        throws TwainException
Deprecated. 
Get CAP_AUTOMATICCAPTURE capability value.

Throws:
TwainException

setAutomaticCapture

public void setAutomaticCapture(int value)
                         throws TwainException
Deprecated. 
Set CAP_AUTOMATICCAPTURE capability value.

Throws:
TwainException

getAutoScan

public boolean getAutoScan()
                    throws TwainException
Deprecated. 
Get CAP_AUTOSCAN capability value.

Throws:
TwainException

setAutoScan

public void setAutoScan(boolean value)
                 throws TwainException
Deprecated. 
Set CAP_AUTOSCAN capability value.

Throws:
TwainException

getBatteryMinutes

public int getBatteryMinutes()
                      throws TwainException
Deprecated. 
Get CAP_BATTERYMINUTES capability value.

Throws:
TwainException

getBatteryPercentage

public int getBatteryPercentage()
                         throws TwainException
Deprecated. 
Get CAP_BATTERYPERCENTAGE capability value.

Throws:
TwainException

getCameraPreviewUI

public boolean getCameraPreviewUI()
                           throws TwainException
Deprecated. 
Get CAP_CAMERAPREVIEWUI capability value.

Throws:
TwainException

getCaption

public java.lang.String getCaption()
                            throws TwainException
Deprecated. 
Get CAP_CAPTION capability value.

Throws:
TwainException

setCaption

public void setCaption(java.lang.String value)
                throws TwainException
Deprecated. 
Set CAP_CAPTION capability value.

Throws:
TwainException

getClearBuffers

public int getClearBuffers()
                    throws TwainException
Deprecated. 
Get CAP_CLEARBUFFERS capability value.

Throws:
TwainException

setClearBuffers

public void setClearBuffers(int value)
                     throws TwainException
Deprecated. 
Set CAP_CLEARBUFFERS capability value.

Throws:
TwainException

getCustomDSData

public boolean getCustomDSData()
                        throws TwainException
Deprecated. 
Get CAP_CUSTOMDSDATA capability value.

Throws:
TwainException

getDeviceOnLine

public boolean getDeviceOnLine()
                        throws TwainException
Deprecated. 
Get CAP_DEVICEONLINE capability value.

Throws:
TwainException

getDeviceTimeDate

public java.lang.String getDeviceTimeDate()
                                   throws TwainException
Deprecated. 
Get CAP_DEVICETIMEDATE capability value.

Throws:
TwainException

setDeviceTimeDate

public void setDeviceTimeDate(java.lang.String value)
                       throws TwainException
Deprecated. 
Set CAP_DEVICETIMEDATE capability value.

Throws:
TwainException

getDuplex

public int getDuplex()
              throws TwainException
Deprecated. 
Get CAP_DUPLEX capability value.

Throws:
TwainException

getDuplexEnabled

public boolean getDuplexEnabled()
                         throws TwainException
Deprecated. 
Get CAP_DUPLEXENABLED capability value.

Throws:
TwainException

setDuplexEnabled

public void setDuplexEnabled(boolean value)
                      throws TwainException
Deprecated. 
Set CAP_DUPLEXENABLED capability value.

Throws:
TwainException

getEnableDSUIOnly

public boolean getEnableDSUIOnly()
                          throws TwainException
Deprecated. 
Get CAP_ENABLEDSUIONLY capability value.

Throws:
TwainException

getEndorser

public int getEndorser()
                throws TwainException
Deprecated. 
Get CAP_ENDORSER capability value.

Throws:
TwainException

setEndorser

public void setEndorser(int value)
                 throws TwainException
Deprecated. 
Set CAP_ENDORSER capability value.

Throws:
TwainException

getFeederAlignment

public int getFeederAlignment()
                       throws TwainException
Deprecated. 
Get CAP_FEEDERALIGNMENT capability value.

Throws:
TwainException

setFeederAlignment

public void setFeederAlignment(int value)
                        throws TwainException
Deprecated. 
Set CAP_FEEDERALIGNMENT capability value.

Throws:
TwainException

getFeederEnabled

public boolean getFeederEnabled()
                         throws TwainException
Deprecated. 
Get CAP_FEEDERENABLED capability value.

Throws:
TwainException

setFeederEnabled

public void setFeederEnabled(boolean value)
                      throws TwainException
Deprecated. 
Set CAP_FEEDERENABLED capability value.

Throws:
TwainException

getFeederLoaded

public boolean getFeederLoaded()
                        throws TwainException
Deprecated. 
Get CAP_FEEDERLOADED capability value.

Throws:
TwainException

getFeederOrder

public int getFeederOrder()
                   throws TwainException
Deprecated. 
Get CAP_FEEDERORDER capability value.

Throws:
TwainException

setFeederOrder

public void setFeederOrder(int value)
                    throws TwainException
Deprecated. 
Set CAP_FEEDERORDER capability value.

Throws:
TwainException

getIndicators

public boolean getIndicators()
                      throws TwainException
Deprecated. 
Get CAP_INDICATORS capability value.

Throws:
TwainException

setIndicators

public void setIndicators(boolean value)
                   throws TwainException
Deprecated. 
Set CAP_INDICATORS capability value.

Throws:
TwainException

getJobControl

public int getJobControl()
                  throws TwainException
Deprecated. 
Get CAP_JOBCONTROL capability value.

Throws:
TwainException

getSupportedJobControl

public int[] getSupportedJobControl()
                             throws TwainException
Deprecated. 
Get CAP_JOBCONTROL capability supported values.

Throws:
TwainException

getDefaultJobControl

public int getDefaultJobControl()
                         throws TwainException
Deprecated. 
Get CAP_JOBCONTROL capability default value.

Throws:
TwainException

setJobControl

public void setJobControl(int value)
                   throws TwainException
Deprecated. 
Set CAP_JOBCONTROL capability value.

Throws:
TwainException

getLanguage

public int getLanguage()
                throws TwainException
Deprecated. 
Get CAP_LANGUAGE capability value.

Throws:
TwainException

getSupportedLanguage

public int[] getSupportedLanguage()
                           throws TwainException
Deprecated. 
Get CAP_LANGUAGE capability supported values.

Throws:
TwainException

getDefaultLanguage

public int getDefaultLanguage()
                       throws TwainException
Deprecated. 
Get CAP_LANGUAGE capability default value.

Throws:
TwainException

setLanguage

public void setLanguage(int value)
                 throws TwainException
Deprecated. 
Set CAP_LANGUAGE capability value.

Throws:
TwainException

getMaxBatchBuffers

public int getMaxBatchBuffers()
                       throws TwainException
Deprecated. 
Get CAP_MAXBATCHBUFFERS capability value.

Throws:
TwainException

getSupportedMaxBatchBuffers

public int[] getSupportedMaxBatchBuffers()
                                  throws TwainException
Deprecated. 
Get CAP_MAXBATCHBUFFERS capability supported values.

Throws:
TwainException

getDefaultMaxBatchBuffers

public int getDefaultMaxBatchBuffers()
                              throws TwainException
Deprecated. 
Get CAP_MAXBATCHBUFFERS capability default value.

Throws:
TwainException

setMaxBatchBuffers

public void setMaxBatchBuffers(int value)
                        throws TwainException
Deprecated. 
Set CAP_MAXBATCHBUFFERS capability value.

Throws:
TwainException

getPaperDetectable

public boolean getPaperDetectable()
                           throws TwainException
Deprecated. 
Get CAP_PAPERDETECTABLE capability value.

Throws:
TwainException

getPowerSupply

public int getPowerSupply()
                   throws TwainException
Deprecated. 
Get CAP_POWERSUPPLY capability value.

Throws:
TwainException

getSupportedPowerSupply

public int[] getSupportedPowerSupply()
                              throws TwainException
Deprecated. 
Get CAP_POWERSUPPLY capability supported values.

Throws:
TwainException

getDefaultPowerSupply

public int getDefaultPowerSupply()
                          throws TwainException
Deprecated. 
Get CAP_POWERSUPPLY capability default value.

Throws:
TwainException

getPrinter

public int getPrinter()
               throws TwainException
Deprecated. 
Get CAP_PRINTER capability value.

Throws:
TwainException

getSupportedPrinter

public int[] getSupportedPrinter()
                          throws TwainException
Deprecated. 
Get CAP_PRINTER capability supported values.

Throws:
TwainException

getDefaultPrinter

public int getDefaultPrinter()
                      throws TwainException
Deprecated. 
Get CAP_PRINTER capability default value.

Throws:
TwainException

setPrinter

public void setPrinter(int value)
                throws TwainException
Deprecated. 
Set CAP_PRINTER capability value.

Throws:
TwainException

getPrinterEnabled

public boolean getPrinterEnabled()
                          throws TwainException
Deprecated. 
Get CAP_PRINTERENABLED capability value.

Throws:
TwainException

setPrinterEnabled

public void setPrinterEnabled(boolean value)
                       throws TwainException
Deprecated. 
Set CAP_PRINTERENABLED capability value.

Throws:
TwainException

getPrinterIndex

public int getPrinterIndex()
                    throws TwainException
Deprecated. 
Get CAP_PRINTERINDEX capability value.

Throws:
TwainException

setPrinterIndex

public void setPrinterIndex(int value)
                     throws TwainException
Deprecated. 
Set CAP_PRINTERINDEX capability value.

Throws:
TwainException

getPrinterMode

public int getPrinterMode()
                   throws TwainException
Deprecated. 
Get CAP_PRINTERMODE capability value.

Throws:
TwainException

getSupportedPrinterMode

public int[] getSupportedPrinterMode()
                              throws TwainException
Deprecated. 
Get CAP_PRINTERMODE capability supported values.

Throws:
TwainException

getDefaultPrinterMode

public int getDefaultPrinterMode()
                          throws TwainException
Deprecated. 
Get CAP_PRINTERMODE capability default value.

Throws:
TwainException

setPrinterMode

public void setPrinterMode(int value)
                    throws TwainException
Deprecated. 
Set CAP_PRINTERMODE capability value.

Throws:
TwainException

getPrinterString

public java.lang.String getPrinterString()
                                  throws TwainException
Deprecated. 
Get CAP_PRINTERSTRING capability value.

Throws:
TwainException

setPrinterString

public void setPrinterString(java.lang.String value)
                      throws TwainException
Deprecated. 
Set CAP_PRINTERSTRING capability value.

Throws:
TwainException

getPrinterSuffix

public java.lang.String getPrinterSuffix()
                                  throws TwainException
Deprecated. 
Get CAP_PRINTERSUFFIX capability value.

Throws:
TwainException

setPrinterSuffix

public void setPrinterSuffix(java.lang.String value)
                      throws TwainException
Deprecated. 
Set CAP_PRINTERSUFFIX capability value.

Throws:
TwainException

getSerialNumber

public java.lang.String getSerialNumber()
                                 throws TwainException
Deprecated. 
Get CAP_SERIALNUMBER capability value.

Throws:
TwainException

getTimeBeforeFirstCapture

public int getTimeBeforeFirstCapture()
                              throws TwainException
Deprecated. 
Get CAP_TIMEBEFOREFIRSTCAPTURE capability value.

Throws:
TwainException

setTimeBeforeFirstCapture

public void setTimeBeforeFirstCapture(int value)
                               throws TwainException
Deprecated. 
Set CAP_TIMEBEFOREFIRSTCAPTURE capability value.

Throws:
TwainException

getTimeBetweenCaptures

public int getTimeBetweenCaptures()
                           throws TwainException
Deprecated. 
Get CAP_TIMEBETWEENCAPTURES capability value.

Throws:
TwainException

setTimeBetweenCaptures

public void setTimeBetweenCaptures(int value)
                            throws TwainException
Deprecated. 
Set CAP_TIMEBETWEENCAPTURES capability value.

Throws:
TwainException

getTimeDate

public java.lang.String getTimeDate()
                             throws TwainException
Deprecated. 
Get CAP_TIMEDATE capability value.

Throws:
TwainException

getThumbnailsEnabled

public boolean getThumbnailsEnabled()
                             throws TwainException
Deprecated. 
Get CAP_THUMBNAILSENABLED capability value.

Throws:
TwainException

setThumbnailsEnabled

public void setThumbnailsEnabled(boolean value)
                          throws TwainException
Deprecated. 
Set CAP_THUMBNAILSENABLED capability value.

Throws:
TwainException

getUIControllable

public boolean getUIControllable()
                          throws TwainException
Deprecated. 
Get CAP_UICONTROLLABLE capability value.

Throws:
TwainException

getTransferCount

public int getTransferCount()
                     throws TwainException
Deprecated. 
Get CAP_XFERCOUNT capability value.

Throws:
TwainException

setTransferCount

public void setTransferCount(int value)
                      throws TwainException
Deprecated. 
Set CAP_XFERCOUNT capability value.

Throws:
TwainException

getAutomaticBorderDetection

public boolean getAutomaticBorderDetection()
                                    throws TwainException
Deprecated. 
Get ICAP_AUTOMATICBORDERDETECTION capability value.

Throws:
TwainException

setAutomaticBorderDetection

public void setAutomaticBorderDetection(boolean value)
                                 throws TwainException
Deprecated. 
Set ICAP_AUTOMATICBORDERDETECTION capability value.

Throws:
TwainException

getAutoBright

public boolean getAutoBright()
                      throws TwainException
Deprecated. 
Get ICAP_AUTOBRIGHT capability value.

Throws:
TwainException

setAutoBright

public void setAutoBright(boolean value)
                   throws TwainException
Deprecated. 
Set ICAP_AUTOBRIGHT capability value.

Throws:
TwainException

getAutomaticDeskew

public boolean getAutomaticDeskew()
                           throws TwainException
Deprecated. 
Get ICAP_AUTOMATICDESKEW capability value.

Throws:
TwainException

setAutomaticDeskew

public void setAutomaticDeskew(boolean value)
                        throws TwainException
Deprecated. 
Set ICAP_AUTOMATICDESKEW capability value.

Throws:
TwainException

getAutomaticRotate

public boolean getAutomaticRotate()
                           throws TwainException
Deprecated. 
Get ICAP_AUTOMATICROTATE capability value.

Throws:
TwainException

setAutomaticRotate

public void setAutomaticRotate(boolean value)
                        throws TwainException
Deprecated. 
Set ICAP_AUTOMATICROTATE capability value.

Throws:
TwainException

getBarCodeDetectionEnabled

public boolean getBarCodeDetectionEnabled()
                                   throws TwainException
Deprecated. 
Get ICAP_BARCODEDETECTIONENABLED capability value.

Throws:
TwainException

setBarCodeDetectionEnabled

public void setBarCodeDetectionEnabled(boolean value)
                                throws TwainException
Deprecated. 
Set ICAP_BARCODEDETECTIONENABLED capability value.

Throws:
TwainException

getBarCodeMaxRetries

public int getBarCodeMaxRetries()
                         throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXRETRIES capability value.

Throws:
TwainException

getSupportedBarCodeMaxRetries

public int[] getSupportedBarCodeMaxRetries()
                                    throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXRETRIES capability supported values.

Throws:
TwainException

getDefaultBarCodeMaxRetries

public int getDefaultBarCodeMaxRetries()
                                throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXRETRIES capability default value.

Throws:
TwainException

setBarCodeMaxRetries

public void setBarCodeMaxRetries(int value)
                          throws TwainException
Deprecated. 
Set ICAP_BARCODEMAXRETRIES capability value.

Throws:
TwainException

getBarCodeMaxSearchPriorities

public int getBarCodeMaxSearchPriorities()
                                  throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXSEARCHPRIORITIES capability value.

Throws:
TwainException

getSupportedBarCodeMaxSearchPriorities

public int[] getSupportedBarCodeMaxSearchPriorities()
                                             throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXSEARCHPRIORITIES capability supported values.

Throws:
TwainException

getDefaultBarCodeMaxSearchPriorities

public int getDefaultBarCodeMaxSearchPriorities()
                                         throws TwainException
Deprecated. 
Get ICAP_BARCODEMAXSEARCHPRIORITIES capability default value.

Throws:
TwainException

setBarCodeMaxSearchPriorities

public void setBarCodeMaxSearchPriorities(int value)
                                   throws TwainException
Deprecated. 
Set ICAP_BARCODEMAXSEARCHPRIORITIES capability value.

Throws:
TwainException

getBarCodeSearchMode

public int getBarCodeSearchMode()
                         throws TwainException
Deprecated. 
Get ICAP_BARCODESEARCHMODE capability value.

Throws:
TwainException

getSupportedBarCodeSearchMode

public int[] getSupportedBarCodeSearchMode()
                                    throws TwainException
Deprecated. 
Get ICAP_BARCODESEARCHMODE capability supported values.

Throws:
TwainException

getDefaultBarCodeSearchMode

public int getDefaultBarCodeSearchMode()
                                throws TwainException
Deprecated. 
Get ICAP_BARCODESEARCHMODE capability default value.

Throws:
TwainException

setBarCodeSearchMode

public void setBarCodeSearchMode(int value)
                          throws TwainException
Deprecated. 
Set ICAP_BARCODESEARCHMODE capability value.

Throws:
TwainException

getBarCodeTimeout

public int getBarCodeTimeout()
                      throws TwainException
Deprecated. 
Get ICAP_BARCODETIMEOUT capability value.

Throws:
TwainException

getSupportedBarCodeTimeout

public int[] getSupportedBarCodeTimeout()
                                 throws TwainException
Deprecated. 
Get ICAP_BARCODETIMEOUT capability supported values.

Throws:
TwainException

getDefaultBarCodeTimeout

public int getDefaultBarCodeTimeout()
                             throws TwainException
Deprecated. 
Get ICAP_BARCODETIMEOUT capability default value.

Throws:
TwainException

setBarCodeTimeout

public void setBarCodeTimeout(int value)
                       throws TwainException
Deprecated. 
Set ICAP_BARCODETIMEOUT capability value.

Throws:
TwainException

getBitDepth

public int getBitDepth()
                throws TwainException
Deprecated. 
Get ICAP_BITDEPTH capability value.

Throws:
TwainException

getSupportedBitDepth

public int[] getSupportedBitDepth()
                           throws TwainException
Deprecated. 
Get ICAP_BITDEPTH capability supported values.

Throws:
TwainException

getDefaultBitDepth

public int getDefaultBitDepth()
                       throws TwainException
Deprecated. 
Get ICAP_BITDEPTH capability default value.

Throws:
TwainException

setBitDepth

public void setBitDepth(int value)
                 throws TwainException
Deprecated. 
Set ICAP_BITDEPTH capability value.

Throws:
TwainException

getBitDepthReduction

public int getBitDepthReduction()
                         throws TwainException
Deprecated. 
Get ICAP_BITDEPTHREDUCTION capability value.

Throws:
TwainException

getSupportedBitDepthReduction

public int[] getSupportedBitDepthReduction()
                                    throws TwainException
Deprecated. 
Get ICAP_BITDEPTHREDUCTION capability supported values.

Throws:
TwainException

getDefaultBitDepthReduction

public int getDefaultBitDepthReduction()
                                throws TwainException
Deprecated. 
Get ICAP_BITDEPTHREDUCTION capability default value.

Throws:
TwainException

setBitDepthReduction

public void setBitDepthReduction(int value)
                          throws TwainException
Deprecated. 
Set ICAP_BITDEPTHREDUCTION capability value.

Throws:
TwainException

getBitOrder

public int getBitOrder()
                throws TwainException
Deprecated. 
Get ICAP_BITORDER capability value.

Throws:
TwainException

getSupportedBitOrder

public int[] getSupportedBitOrder()
                           throws TwainException
Deprecated. 
Get ICAP_BITORDER capability supported values.

Throws:
TwainException

getDefaultBitOrder

public int getDefaultBitOrder()
                       throws TwainException
Deprecated. 
Get ICAP_BITORDER capability default value.

Throws:
TwainException

setBitOrder

public void setBitOrder(int value)
                 throws TwainException
Deprecated. 
Set ICAP_BITORDER capability value.

Throws:
TwainException

getBitOrderCodes

public int getBitOrderCodes()
                     throws TwainException
Deprecated. 
Get ICAP_BITORDERCODES capability value.

Throws:
TwainException

getSupportedBitOrderCodes

public int[] getSupportedBitOrderCodes()
                                throws TwainException
Deprecated. 
Get ICAP_BITORDERCODES capability supported values.

Throws:
TwainException

getDefaultBitOrderCodes

public int getDefaultBitOrderCodes()
                            throws TwainException
Deprecated. 
Get ICAP_BITORDERCODES capability default value.

Throws:
TwainException

setBitOrderCodes

public void setBitOrderCodes(int value)
                      throws TwainException
Deprecated. 
Set ICAP_BITORDERCODES capability value.

Throws:
TwainException

getBrightness

public double getBrightness()
                     throws TwainException
Deprecated. 
Get ICAP_BRIGHTNESS capability value.

Throws:
TwainException

getSupportedBrightness

public double[] getSupportedBrightness()
                                throws TwainException
Deprecated. 
Get ICAP_BRIGHTNESS capability supported values.

Throws:
TwainException

getDefaultBrightness

public double getDefaultBrightness()
                            throws TwainException
Deprecated. 
Get ICAP_BRIGHTNESS capability default value.

Throws:
TwainException

setBrightness

public void setBrightness(double value)
                   throws TwainException
Deprecated. 
Set ICAP_BRIGHTNESS capability value.

Throws:
TwainException

getCCITTKFactor

public int getCCITTKFactor()
                    throws TwainException
Deprecated. 
Get ICAP_CCITTKFACTOR capability value.

Throws:
TwainException

setCCITTKFactor

public void setCCITTKFactor(int value)
                     throws TwainException
Deprecated. 
Set ICAP_CCITTKFACTOR capability value.

Throws:
TwainException

getCompression

public int getCompression()
                   throws TwainException
Deprecated. 
Get ICAP_COMPRESSION capability value.

Throws:
TwainException

getSupportedCompression

public int[] getSupportedCompression()
                              throws TwainException
Deprecated. 
Get ICAP_COMPRESSION capability supported values.

Throws:
TwainException

getDefaultCompression

public int getDefaultCompression()
                          throws TwainException
Deprecated. 
Get ICAP_COMPRESSION capability default value.

Throws:
TwainException

setCompression

public void setCompression(int value)
                    throws TwainException
Deprecated. 
Set ICAP_COMPRESSION capability value.

Throws:
TwainException

getContrast

public double getContrast()
                   throws TwainException
Deprecated. 
Get ICAP_CONTRAST capability value.

Throws:
TwainException

getSupportedContrast

public double[] getSupportedContrast()
                              throws TwainException
Deprecated. 
Get ICAP_CONTRAST capability supported values.

Throws:
TwainException

getDefaultContrast

public double getDefaultContrast()
                          throws TwainException
Deprecated. 
Get ICAP_CONTRAST capability default value.

Throws:
TwainException

setContrast

public void setContrast(double value)
                 throws TwainException
Deprecated. 
Set ICAP_CONTRAST capability value.

Throws:
TwainException

getExposureTime

public double getExposureTime()
                       throws TwainException
Deprecated. 
Get ICAP_EXPOSURETIME capability value.

Throws:
TwainException

getSupportedExposureTime

public double[] getSupportedExposureTime()
                                  throws TwainException
Deprecated. 
Get ICAP_EXPOSURETIME capability supported values.

Throws:
TwainException

getDefaultExposureTime

public double getDefaultExposureTime()
                              throws TwainException
Deprecated. 
Get ICAP_EXPOSURETIME capability default value.

Throws:
TwainException

setExposureTime

public void setExposureTime(double value)
                     throws TwainException
Deprecated. 
Set ICAP_EXPOSURETIME capability value.

Throws:
TwainException

getExtImageInfo

public boolean getExtImageInfo()
                        throws TwainException
Deprecated. 
Get ICAP_EXTIMAGEINFO capability value.

Throws:
TwainException

setExtImageInfo

public void setExtImageInfo(boolean value)
                     throws TwainException
Deprecated. 
Set ICAP_EXTIMAGEINFO capability value.

Throws:
TwainException

getFilter

public int getFilter()
              throws TwainException
Deprecated. 
Get ICAP_FILTER capability value.

Throws:
TwainException

setFilter

public void setFilter(int value)
               throws TwainException
Deprecated. 
Set ICAP_FILTER capability value.

Throws:
TwainException

getFlashUsed

public int getFlashUsed()
                 throws TwainException
Deprecated. 
Get ICAP_FLASHUSED2 capability value.

Throws:
TwainException

getSupportedFlashUsed

public int[] getSupportedFlashUsed()
                            throws TwainException
Deprecated. 
Get ICAP_FLASHUSED2 capability supported values.

Throws:
TwainException

getDefaultFlashUsed

public int getDefaultFlashUsed()
                        throws TwainException
Deprecated. 
Get ICAP_FLASHUSED2 capability default value.

Throws:
TwainException

setFlashUsed

public void setFlashUsed(int value)
                  throws TwainException
Deprecated. 
Set ICAP_FLASHUSED2 capability value.

Throws:
TwainException

getFlipRotation

public int getFlipRotation()
                    throws TwainException
Deprecated. 
Get ICAP_FLIPROTATION capability value.

Throws:
TwainException

setFlipRotation

public void setFlipRotation(int value)
                     throws TwainException
Deprecated. 
Set ICAP_FLIPROTATION capability value.

Throws:
TwainException

getGamma

public double getGamma()
                throws TwainException
Deprecated. 
Get ICAP_GAMMA capability value.

Throws:
TwainException

setGamma

public void setGamma(double value)
              throws TwainException
Deprecated. 
Set ICAP_GAMMA capability value.

Throws:
TwainException

getHalftones

public java.lang.String getHalftones()
                              throws TwainException
Deprecated. 
Get ICAP_HALFTONES capability value.

Throws:
TwainException

setHalftones

public void setHalftones(java.lang.String value)
                  throws TwainException
Deprecated. 
Set ICAP_HALFTONES capability value.

Throws:
TwainException

getHighlight

public double getHighlight()
                    throws TwainException
Deprecated. 
Get ICAP_HIGHLIGHT capability value.

Throws:
TwainException

getSupportedHighlight

public double[] getSupportedHighlight()
                               throws TwainException
Deprecated. 
Get ICAP_HIGHLIGHT capability supported values.

Throws:
TwainException

getDefaultHighlight

public double getDefaultHighlight()
                           throws TwainException
Deprecated. 
Get ICAP_HIGHLIGHT capability default value.

Throws:
TwainException

setHighlight

public void setHighlight(double value)
                  throws TwainException
Deprecated. 
Set ICAP_HIGHLIGHT capability value.

Throws:
TwainException

getImageDataSet

public int getImageDataSet()
                    throws TwainException
Deprecated. 
Get ICAP_IMAGEDATASET capability value.

Throws:
TwainException

setImageDataSet

public void setImageDataSet(int value)
                     throws TwainException
Deprecated. 
Set ICAP_IMAGEDATASET capability value.

Throws:
TwainException

getImageFileFormat

public int getImageFileFormat()
                       throws TwainException
Deprecated. 
Get ICAP_IMAGEFILEFORMAT capability value.

Throws:
TwainException

getSupportedImageFileFormat

public int[] getSupportedImageFileFormat()
                                  throws TwainException
Deprecated. 
Get ICAP_IMAGEFILEFORMAT capability supported values.

Throws:
TwainException

getDefaultImageFileFormat

public int getDefaultImageFileFormat()
                              throws TwainException
Deprecated. 
Get ICAP_IMAGEFILEFORMAT capability default value.

Throws:
TwainException

setImageFileFormat

public void setImageFileFormat(int value)
                        throws TwainException
Deprecated. 
Set ICAP_IMAGEFILEFORMAT capability value.

Throws:
TwainException

getImageFilter

public int getImageFilter()
                   throws TwainException
Deprecated. 
Get ICAP_IMAGEFILTER capability value.

Throws:
TwainException

getSupportedImageFilter

public int[] getSupportedImageFilter()
                              throws TwainException
Deprecated. 
Get ICAP_IMAGEFILTER capability supported values.

Throws:
TwainException

getDefaultImageFilter

public int getDefaultImageFilter()
                          throws TwainException
Deprecated. 
Get ICAP_IMAGEFILTER capability default value.

Throws:
TwainException

setImageFilter

public void setImageFilter(int value)
                    throws TwainException
Deprecated. 
Set ICAP_IMAGEFILTER capability value.

Throws:
TwainException

getJPEGPixelType

public int getJPEGPixelType()
                     throws TwainException
Deprecated. 
Get ICAP_JPEGPIXELTYPE capability value.

Throws:
TwainException

getSupportedJPEGPixelType

public int[] getSupportedJPEGPixelType()
                                throws TwainException
Deprecated. 
Get ICAP_JPEGPIXELTYPE capability supported values.

Throws:
TwainException

getDefaultJPEGPixelType

public int getDefaultJPEGPixelType()
                            throws TwainException
Deprecated. 
Get ICAP_JPEGPIXELTYPE capability default value.

Throws:
TwainException

setJPEGPixelType

public void setJPEGPixelType(int value)
                      throws TwainException
Deprecated. 
Set ICAP_JPEGPIXELTYPE capability value.

Throws:
TwainException

getJPEGQuality

public int getJPEGQuality()
                   throws TwainException
Deprecated. 
Get ICAP_JPEGQUALITY capability value.

Throws:
TwainException

getSupportedJPEGQuality

public int[] getSupportedJPEGQuality()
                              throws TwainException
Deprecated. 
Get ICAP_JPEGQUALITY capability supported values.

Throws:
TwainException

getDefaultJPEGQuality

public int getDefaultJPEGQuality()
                          throws TwainException
Deprecated. 
Get ICAP_JPEGQUALITY capability default value.

Throws:
TwainException

setJPEGQuality

public void setJPEGQuality(int value)
                    throws TwainException
Deprecated. 
Set ICAP_JPEGQUALITY capability value.

Throws:
TwainException

getLampState

public boolean getLampState()
                     throws TwainException
Deprecated. 
Get ICAP_LAMPSTATE capability value.

Throws:
TwainException

getSupportedLampState

public boolean[] getSupportedLampState()
                                throws TwainException
Deprecated. 
Get ICAP_LAMPSTATE capability supported values.

Throws:
TwainException

getDefaultLampState

public boolean getDefaultLampState()
                            throws TwainException
Deprecated. 
Get ICAP_LAMPSTATE capability default value.

Throws:
TwainException

setLampState

public void setLampState(boolean value)
                  throws TwainException
Deprecated. 
Set ICAP_LAMPSTATE capability value.

Throws:
TwainException

getLightPath

public int getLightPath()
                 throws TwainException
Deprecated. 
Get ICAP_LIGHTPATH capability value.

Throws:
TwainException

getSupportedLightPath

public int[] getSupportedLightPath()
                            throws TwainException
Deprecated. 
Get ICAP_LIGHTPATH capability supported values.

Throws:
TwainException

getDefaultLightPath

public int getDefaultLightPath()
                        throws TwainException
Deprecated. 
Get ICAP_LIGHTPATH capability default value.

Throws:
TwainException

setLightPath

public void setLightPath(int value)
                  throws TwainException
Deprecated. 
Set ICAP_LIGHTPATH capability value.

Throws:
TwainException

getLightSource

public int getLightSource()
                   throws TwainException
Deprecated. 
Get ICAP_LIGHTSOURCE capability value.

Throws:
TwainException

getSupportedLightSource

public int[] getSupportedLightSource()
                              throws TwainException
Deprecated. 
Get ICAP_LIGHTSOURCE capability supported values.

Throws:
TwainException

getDefaultLightSource

public int getDefaultLightSource()
                          throws TwainException
Deprecated. 
Get ICAP_LIGHTSOURCE capability default value.

Throws:
TwainException

setLightSource

public void setLightSource(int value)
                    throws TwainException
Deprecated. 
Set ICAP_LIGHTSOURCE capability value.

Throws:
TwainException

getMinimumHeight

public double getMinimumHeight()
                        throws TwainException
Deprecated. 
Get ICAP_MINIMUMHEIGHT capability value.

Throws:
TwainException

getMinimumWidth

public double getMinimumWidth()
                       throws TwainException
Deprecated. 
Get ICAP_MINIMUMWIDTH capability value.

Throws:
TwainException

getNoiseFilter

public int getNoiseFilter()
                   throws TwainException
Deprecated. 
Get ICAP_NOISEFILTER capability value.

Throws:
TwainException

getSupportedNoiseFilter

public int[] getSupportedNoiseFilter()
                              throws TwainException
Deprecated. 
Get ICAP_NOISEFILTER capability supported values.

Throws:
TwainException

getDefaultNoiseFilter

public int getDefaultNoiseFilter()
                          throws TwainException
Deprecated. 
Get ICAP_NOISEFILTER capability default value.

Throws:
TwainException

setNoiseFilter

public void setNoiseFilter(int value)
                    throws TwainException
Deprecated. 
Set ICAP_NOISEFILTER capability value.

Throws:
TwainException

getOrientation

public int getOrientation()
                   throws TwainException
Deprecated. 
Get ICAP_ORIENTATION capability value.

Throws:
TwainException

getSupportedOrientation

public int[] getSupportedOrientation()
                              throws TwainException
Deprecated. 
Get ICAP_ORIENTATION capability supported values.

Throws:
TwainException

getDefaultOrientation

public int getDefaultOrientation()
                          throws TwainException
Deprecated. 
Get ICAP_ORIENTATION capability default value.

Throws:
TwainException

setOrientation

public void setOrientation(int value)
                    throws TwainException
Deprecated. 
Set ICAP_ORIENTATION capability value.

Throws:
TwainException

getOverscan

public int getOverscan()
                throws TwainException
Deprecated. 
Get ICAP_OVERSCAN capability value.

Throws:
TwainException

getSupportedOverscan

public int[] getSupportedOverscan()
                           throws TwainException
Deprecated. 
Get ICAP_OVERSCAN capability supported values.

Throws:
TwainException

getDefaultOverscan

public int getDefaultOverscan()
                       throws TwainException
Deprecated. 
Get ICAP_OVERSCAN capability default value.

Throws:
TwainException

setOverscan

public void setOverscan(int value)
                 throws TwainException
Deprecated. 
Set ICAP_OVERSCAN capability value.

Throws:
TwainException

getPatchCodeDetectionEnabled

public boolean getPatchCodeDetectionEnabled()
                                     throws TwainException
Deprecated. 
Get ICAP_PATCHCODEDETECTIONENABLED capability value.

Throws:
TwainException

setPatchCodeDetectionEnabled

public void setPatchCodeDetectionEnabled(boolean value)
                                  throws TwainException
Deprecated. 
Set ICAP_PATCHCODEDETECTIONENABLED capability value.

Throws:
TwainException

getPatchCodeMaxRetries

public int getPatchCodeMaxRetries()
                           throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXRETRIES capability value.

Throws:
TwainException

getSupportedPatchCodeMaxRetries

public int[] getSupportedPatchCodeMaxRetries()
                                      throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXRETRIES capability supported values.

Throws:
TwainException

getDefaultPatchCodeMaxRetries

public int getDefaultPatchCodeMaxRetries()
                                  throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXRETRIES capability default value.

Throws:
TwainException

setPatchCodeMaxRetries

public void setPatchCodeMaxRetries(int value)
                            throws TwainException
Deprecated. 
Set ICAP_PATCHCODEMAXRETRIES capability value.

Throws:
TwainException

getPatchCodeMaxSearchPriorities

public int getPatchCodeMaxSearchPriorities()
                                    throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability value.

Throws:
TwainException

getSupportedPatchCodeMaxSearchPriorities

public int[] getSupportedPatchCodeMaxSearchPriorities()
                                               throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability supported values.

Throws:
TwainException

getDefaultPatchCodeMaxSearchPriorities

public int getDefaultPatchCodeMaxSearchPriorities()
                                           throws TwainException
Deprecated. 
Get ICAP_PATCHCODEMAXSEARCHPRIORITIES capability default value.

Throws:
TwainException

setPatchCodeMaxSearchPriorities

public void setPatchCodeMaxSearchPriorities(int value)
                                     throws TwainException
Deprecated. 
Set ICAP_PATCHCODEMAXSEARCHPRIORITIES capability value.

Throws:
TwainException

getPatchCodeSearchMode

public int getPatchCodeSearchMode()
                           throws TwainException
Deprecated. 
Get ICAP_PATCHCODESEARCHMODE capability value.

Throws:
TwainException

getSupportedPatchCodeSearchMode

public int[] getSupportedPatchCodeSearchMode()
                                      throws TwainException
Deprecated. 
Get ICAP_PATCHCODESEARCHMODE capability supported values.

Throws:
TwainException

getDefaultPatchCodeSearchMode

public int getDefaultPatchCodeSearchMode()
                                  throws TwainException
Deprecated. 
Get ICAP_PATCHCODESEARCHMODE capability default value.

Throws:
TwainException

setPatchCodeSearchMode

public void setPatchCodeSearchMode(int value)
                            throws TwainException
Deprecated. 
Set ICAP_PATCHCODESEARCHMODE capability value.

Throws:
TwainException

getPatchCodeTimeout

public int getPatchCodeTimeout()
                        throws TwainException
Deprecated. 
Get ICAP_PATCHCODETIMEOUT capability value.

Throws:
TwainException

getSupportedPatchCodeTimeout

public int[] getSupportedPatchCodeTimeout()
                                   throws TwainException
Deprecated. 
Get ICAP_PATCHCODETIMEOUT capability supported values.

Throws:
TwainException

getDefaultPatchCodeTimeout

public int getDefaultPatchCodeTimeout()
                               throws TwainException
Deprecated. 
Get ICAP_PATCHCODETIMEOUT capability default value.

Throws:
TwainException

setPatchCodeTimeout

public void setPatchCodeTimeout(int value)
                         throws TwainException
Deprecated. 
Set ICAP_PATCHCODETIMEOUT capability value.

Throws:
TwainException

getPhysicalHeight

public double getPhysicalHeight()
                         throws TwainException
Deprecated. 
Get ICAP_PHYSICALHEIGHT capability value.

Throws:
TwainException

getPhysicalWidth

public double getPhysicalWidth()
                        throws TwainException
Deprecated. 
Get ICAP_PHYSICALWIDTH capability value.

Throws:
TwainException

getPixelFlavor

public int getPixelFlavor()
                   throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVOR capability value.

Throws:
TwainException

getSupportedPixelFlavor

public int[] getSupportedPixelFlavor()
                              throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVOR capability supported values.

Throws:
TwainException

getDefaultPixelFlavor

public int getDefaultPixelFlavor()
                          throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVOR capability default value.

Throws:
TwainException

setPixelFlavor

public void setPixelFlavor(int value)
                    throws TwainException
Deprecated. 
Set ICAP_PIXELFLAVOR capability value.

Throws:
TwainException

getPixelFlavorCodes

public int getPixelFlavorCodes()
                        throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVORCODES capability value.

Throws:
TwainException

getSupportedPixelFlavorCodes

public int[] getSupportedPixelFlavorCodes()
                                   throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVORCODES capability supported values.

Throws:
TwainException

getDefaultPixelFlavorCodes

public int getDefaultPixelFlavorCodes()
                               throws TwainException
Deprecated. 
Get ICAP_PIXELFLAVORCODES capability default value.

Throws:
TwainException

setPixelFlavorCodes

public void setPixelFlavorCodes(int value)
                         throws TwainException
Deprecated. 
Set ICAP_PIXELFLAVORCODES capability value.

Throws:
TwainException

getPixelType

public int getPixelType()
                 throws TwainException
Deprecated. 
Get ICAP_PIXELTYPE capability value.

Throws:
TwainException

getSupportedPixelType

public int[] getSupportedPixelType()
                            throws TwainException
Deprecated. 
Get ICAP_PIXELTYPE capability supported values.

Throws:
TwainException

getDefaultPixelType

public int getDefaultPixelType()
                        throws TwainException
Deprecated. 
Get ICAP_PIXELTYPE capability default value.

Throws:
TwainException

setPixelType

public void setPixelType(int value)
                  throws TwainException
Deprecated. 
Set ICAP_PIXELTYPE capability value.

Throws:
TwainException

getPlanarChunky

public int getPlanarChunky()
                    throws TwainException
Deprecated. 
Get ICAP_PLANARCHUNKY capability value.

Throws:
TwainException

getSupportedPlanarChunky

public int[] getSupportedPlanarChunky()
                               throws TwainException
Deprecated. 
Get ICAP_PLANARCHUNKY capability supported values.

Throws:
TwainException

getDefaultPlanarChunky

public int getDefaultPlanarChunky()
                           throws TwainException
Deprecated. 
Get ICAP_PLANARCHUNKY capability default value.

Throws:
TwainException

setPlanarChunky

public void setPlanarChunky(int value)
                     throws TwainException
Deprecated. 
Set ICAP_PLANARCHUNKY capability value.

Throws:
TwainException

getRotation

public double getRotation()
                   throws TwainException
Deprecated. 
Get ICAP_ROTATION capability value.

Throws:
TwainException

getSupportedRotation

public double[] getSupportedRotation()
                              throws TwainException
Deprecated. 
Get ICAP_ROTATION capability supported values.

Throws:
TwainException

getDefaultRotation

public double getDefaultRotation()
                          throws TwainException
Deprecated. 
Get ICAP_ROTATION capability default value.

Throws:
TwainException

setRotation

public void setRotation(double value)
                 throws TwainException
Deprecated. 
Set ICAP_ROTATION capability value.

Throws:
TwainException

getShadow

public double getShadow()
                 throws TwainException
Deprecated. 
Get ICAP_SHADOW capability value.

Throws:
TwainException

getSupportedShadow

public double[] getSupportedShadow()
                            throws TwainException
Deprecated. 
Get ICAP_SHADOW capability supported values.

Throws:
TwainException

getDefaultShadow

public double getDefaultShadow()
                        throws TwainException
Deprecated. 
Get ICAP_SHADOW capability default value.

Throws:
TwainException

setShadow

public void setShadow(double value)
               throws TwainException
Deprecated. 
Set ICAP_SHADOW capability value.

Throws:
TwainException

getSupportedPatchCodeTypes

public int getSupportedPatchCodeTypes()
                               throws TwainException
Deprecated. 
Get ICAP_SUPPORTEDPATCHCODETYPES capability value.

Throws:
TwainException

getSupportedSizes

public int getSupportedSizes()
                      throws TwainException
Deprecated. 
Get ICAP_SUPPORTEDSIZES capability value.

Throws:
TwainException

getSupportedSupportedSizes

public int[] getSupportedSupportedSizes()
                                 throws TwainException
Deprecated. 
Get ICAP_SUPPORTEDSIZES capability supported values.

Throws:
TwainException

getDefaultSupportedSizes

public int getDefaultSupportedSizes()
                             throws TwainException
Deprecated. 
Get ICAP_SUPPORTEDSIZES capability default value.

Throws:
TwainException

setSupportedSizes

public void setSupportedSizes(int value)
                       throws TwainException
Deprecated. 
Set ICAP_SUPPORTEDSIZES capability value.

Throws:
TwainException

getThreshold

public double getThreshold()
                    throws TwainException
Deprecated. 
Get ICAP_THRESHOLD capability value.

Throws:
TwainException

getSupportedThreshold

public double[] getSupportedThreshold()
                               throws TwainException
Deprecated. 
Get ICAP_THRESHOLD capability supported values.

Throws:
TwainException

getDefaultThreshold

public double getDefaultThreshold()
                           throws TwainException
Deprecated. 
Get ICAP_THRESHOLD capability default value.

Throws:
TwainException

setThreshold

public void setThreshold(double value)
                  throws TwainException
Deprecated. 
Set ICAP_THRESHOLD capability value.

Throws:
TwainException

getTimeFill

public int getTimeFill()
                throws TwainException
Deprecated. 
Get ICAP_TIMEFILL capability value.

Throws:
TwainException

setTimeFill

public void setTimeFill(int value)
                 throws TwainException
Deprecated. 
Set ICAP_TIMEFILL capability value.

Throws:
TwainException

getUndefinedImageSize

public boolean getUndefinedImageSize()
                              throws TwainException
Deprecated. 
Get ICAP_UNDEFINEDIMAGESIZE capability value.

Throws:
TwainException

setUndefinedImageSize

public void setUndefinedImageSize(boolean value)
                           throws TwainException
Deprecated. 
Set ICAP_UNDEFINEDIMAGESIZE capability value.

Throws:
TwainException

getUnits

public int getUnits()
             throws TwainException
Deprecated. 
Get ICAP_UNITS capability value.

Throws:
TwainException

getSupportedUnits

public int[] getSupportedUnits()
                        throws TwainException
Deprecated. 
Get ICAP_UNITS capability supported values.

Throws:
TwainException

getDefaultUnits

public int getDefaultUnits()
                    throws TwainException
Deprecated. 
Get ICAP_UNITS capability default value.

Throws:
TwainException

setUnits

public void setUnits(int value)
              throws TwainException
Deprecated. 
Set ICAP_UNITS capability value.

Throws:
TwainException

getTransferMech

public int getTransferMech()
                    throws TwainException
Deprecated. 
Get ICAP_XFERMECH capability value.

Throws:
TwainException

getSupportedTransferMech

public int[] getSupportedTransferMech()
                               throws TwainException
Deprecated. 
Get ICAP_XFERMECH capability supported values.

Throws:
TwainException

getDefaultTransferMech

public int getDefaultTransferMech()
                           throws TwainException
Deprecated. 
Get ICAP_XFERMECH capability default value.

Throws:
TwainException

setTransferMech

public void setTransferMech(int value)
                     throws TwainException
Deprecated. 
Set ICAP_XFERMECH capability value.

Throws:
TwainException

getXNativeResolution

public double getXNativeResolution()
                            throws TwainException
Deprecated. 
Get ICAP_XNATIVERESOLUTION capability value.

Throws:
TwainException

getSupportedXNativeResolution

public double[] getSupportedXNativeResolution()
                                       throws TwainException
Deprecated. 
Get ICAP_XNATIVERESOLUTION capability supported values.

Throws:
TwainException

getDefaultXNativeResolution

public double getDefaultXNativeResolution()
                                   throws TwainException
Deprecated. 
Get ICAP_XNATIVERESOLUTION capability default value.

Throws:
TwainException

getXResolution

public double getXResolution()
                      throws TwainException
Deprecated. 
Get ICAP_XRESOLUTION capability value.

Throws:
TwainException

getSupportedXResolution

public double[] getSupportedXResolution()
                                 throws TwainException
Deprecated. 
Get ICAP_XRESOLUTION capability supported values.

Throws:
TwainException

getDefaultXResolution

public double getDefaultXResolution()
                             throws TwainException
Deprecated. 
Get ICAP_XRESOLUTION capability default value.

Throws:
TwainException

setXResolution

public void setXResolution(double value)
                    throws TwainException
Deprecated. 
Set ICAP_XRESOLUTION capability value.

Throws:
TwainException

getXScaling

public double getXScaling()
                   throws TwainException
Deprecated. 
Get ICAP_XSCALING capability value.

Throws:
TwainException

getSupportedXScaling

public double[] getSupportedXScaling()
                              throws TwainException
Deprecated. 
Get ICAP_XSCALING capability supported values.

Throws:
TwainException

getDefaultXScaling

public double getDefaultXScaling()
                          throws TwainException
Deprecated. 
Get ICAP_XSCALING capability default value.

Throws:
TwainException

setXScaling

public void setXScaling(double value)
                 throws TwainException
Deprecated. 
Set ICAP_XSCALING capability value.

Throws:
TwainException

getYNativeResolution

public double getYNativeResolution()
                            throws TwainException
Deprecated. 
Get ICAP_YNATIVERESOLUTION capability value.

Throws:
TwainException

getSupportedYNativeResolution

public double[] getSupportedYNativeResolution()
                                       throws TwainException
Deprecated. 
Get ICAP_YNATIVERESOLUTION capability supported values.

Throws:
TwainException

getDefaultYNativeResolution

public double getDefaultYNativeResolution()
                                   throws TwainException
Deprecated. 
Get ICAP_YNATIVERESOLUTION capability default value.

Throws:
TwainException

getYResolution

public double getYResolution()
                      throws TwainException
Deprecated. 
Get ICAP_YRESOLUTION capability value.

Throws:
TwainException

getSupportedYResolution

public double[] getSupportedYResolution()
                                 throws TwainException
Deprecated. 
Get ICAP_YRESOLUTION capability supported values.

Throws:
TwainException

getDefaultYResolution

public double getDefaultYResolution()
                             throws TwainException
Deprecated. 
Get ICAP_YRESOLUTION capability default value.

Throws:
TwainException

setYResolution

public void setYResolution(double value)
                    throws TwainException
Deprecated. 
Set ICAP_YRESOLUTION capability value.

Throws:
TwainException

getYScaling

public double getYScaling()
                   throws TwainException
Deprecated. 
Get ICAP_YSCALING capability value.

Throws:
TwainException

getSupportedYScaling

public double[] getSupportedYScaling()
                              throws TwainException
Deprecated. 
Get ICAP_YSCALING capability supported values.

Throws:
TwainException

getDefaultYScaling

public double getDefaultYScaling()
                          throws TwainException
Deprecated. 
Get ICAP_YSCALING capability default value.

Throws:
TwainException

setYScaling

public void setYScaling(double value)
                 throws TwainException
Deprecated. 
Set ICAP_YSCALING capability value.

Throws:
TwainException

getZoomFactor

public int getZoomFactor()
                  throws TwainException
Deprecated. 
Get ICAP_ZOOMFACTOR capability value.

Throws:
TwainException

getSupportedZoomFactor

public int[] getSupportedZoomFactor()
                             throws TwainException
Deprecated. 
Get ICAP_ZOOMFACTOR capability supported values.

Throws:
TwainException

getDefaultZoomFactor

public int getDefaultZoomFactor()
                         throws TwainException
Deprecated. 
Get ICAP_ZOOMFACTOR capability default value.

Throws:
TwainException

setZoomFactor

public void setZoomFactor(int value)
                   throws TwainException
Deprecated. 
Set ICAP_ZOOMFACTOR capability value.

Throws:
TwainException

addConsumer

public void addConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. 
This method is used to register an ImageConsumer with the ImageProducer for access to the image data during a later reconstruction of the Image. The ImageProducer may, at its discretion, start delivering the image data to the consumer using the ImageConsumer interface immediately, or when the next available image reconstruction is triggered by a call to the startProduction method.

Specified by:
addConsumer in interface java.awt.image.ImageProducer
See Also:
startProduction(java.awt.image.ImageConsumer)

isConsumer

public boolean isConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. 
This method determines if a given ImageConsumer object is currently registered with this ImageProducer as one of its consumers.

Specified by:
isConsumer in interface java.awt.image.ImageProducer

removeConsumer

public void removeConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. 
This method removes the given ImageConsumer object from the list of consumers currently registered to receive image data. It is not considered an error to remove a consumer that is not currently registered. The ImageProducer should stop sending data to this consumer as soon as is feasible.

Specified by:
removeConsumer in interface java.awt.image.ImageProducer

startProduction

public void startProduction(java.awt.image.ImageConsumer consumer)
Deprecated. 
This method both registers the given ImageConsumer object as a consumer and starts an immediate reconstruction of the image data which will then be delivered to this consumer and any other consumer which may have already been registered with the producer. This method differs from the addConsumer method in that a reproduction of the image data should be triggered as soon as possible. If some error occurs during this method, it can be checked by

Specified by:
startProduction in interface java.awt.image.ImageProducer
See Also:
addConsumer(java.awt.image.ImageConsumer)

requestTopDownLeftRightResend

public void requestTopDownLeftRightResend(java.awt.image.ImageConsumer consumer)
Deprecated. 
Not used.

Specified by:
requestTopDownLeftRightResend in interface java.awt.image.ImageProducer