com.asprise.imaging.scan.win

## Class WiaCapability

- java.lang.Object
- - com.asprise.imaging.scan.Capability
  - - com.asprise.imaging.scan.win.WiaCapability

-     public class WiaCapability
      extends Capability

  WIA capability

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.asprise.imaging.scan.Capability

      `Capability.ValidValues, Capability.ValidValuesFlag, Capability.ValidValuesList, Capability.ValidValuesRange`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WiaCapability(long id, String name, String description, long type, long flags, Object validValuesObject, Object currentValue)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isWritable()` Whether this capability allows the end user to set.
    `void` | `setNewValue(Object newValue)` New value to be set to the device.
    `String` | `toString()`

    - ### Methods inherited from class com.asprise.imaging.scan.Capability

      `getCurrentValue, getCurrentValueAsLong, getCurrentValueAsString, getDescription, getFlags, getId, getName, getNewValue, getType, getValidValues, getValue, getValueAsLong, getValueAsString, hasNewValue, isForceSet, isThrowExceptionIfSetFailed, needToWriteToDevice, setForceSet, setThrowExceptionIfSetFailed, unset, update`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WiaCapability

          public WiaCapability(long id,
                       String name,
                       String description,
                       long type,
                       long flags,
                       Object validValuesObject,
                       Object currentValue)

  - ### Method Detail

    - #### setNewValue

          public void setNewValue(Object newValue)

      Description copied from class: `Capability`
      New value to be set to the device. New value will only be set to the device immediately before a scan or preview.
      Overrides:
        `setNewValue` in class `Capability`

    - #### isWritable

          public boolean isWritable()

      Description copied from class: `Capability`
      Whether this capability allows the end user to set.
      Specified by:
        `isWritable` in class `Capability`
      Returns:
        true if the user can set a new value or false otherwise.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © Asprise Software. All Rights Reserved. Please visit the product page at asprise.com