Scanner WIA Item Property Constants
The following constants specify the valid set of Windows Image Acquisition (WIA) scanner item properties.
The prefix "WIA_IPS_" indicates an Item Property for Scanner devices and is the naming convention used in C/C++. For scripting purposes these constants use the prefix "ScannerPicture" and are part of the WiaItemPropertyId enumerated type. The corresponding member name from that script enumeration appears in parentheses next to the C/C++ constant name in the following list.
Constant/value | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Note: This property is supported only by Windows Vista and later.
|
||||||||||||||||||||||
|
The image brightness values available within the scanner. Contains the current hardware brightness setting for the device. An application sets this property to the hardware's brightness value. The minidriver creates and maintains this property. Values should be mapped in a range from -1000 through 1000, where 1000 corresponds to the maximum brightness, 0 corresponds to normal brightness, and -1000 corresponds to the minimum brightness. Required for all items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Optional, but recommended, for WIA_CATEGORY_FINISHED_FILE items supporting previews. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Contains the current hardware contrast setting for a device. An application sets this property to the hardware's contrast value. The minidriver creates and maintains this property. Values should be mapped in a range from -1000 through 1000, where -1000 corresponds to the minimum contrast, 0 corresponds to normal contrast, and 1000 corresponds to the maximum contrast. Required for all items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Optional, but recommended, for WIA_CATEGORY_FINISHED_FILE items supporting previews. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Contains the current intent settings. The minidriver creates and maintains this property. Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FINISHED_FILE or WIA_CATEGORY_FOLDER items. Type: VT_I4 Access: Read/Write, Valid Values: WIA_PROP_FLAGS The driver uses these to preset item properties based on an application's intended use of the image. This might include, for example, maximum quality, minimum size, and so on. The driver chooses the bit depth, in dots per inch, and other settings that it determines are appropriate for the selected intent. It is up to the application to read the current settings to determine which properties were changed. An application sets this property to auto-set the WIA properties for specific acquisition intent. This property is required for all scanners. An application sets this property to auto-set the WIA properties for specific acquisition intent Note: This property is required for all scanners. The following table contains the image-type flags and their definitions. These flags are used to set which type of image is intended: color, grayscale, and so on.
The following table contains the quality and size flags and their definitions. These flags are used to set which level of quality is intended.
|
||||||||||||||||||||||
|
Note: Contains the number of pixels in the x-direction from WIA_IPS_XPOS to the x-coordinate of the uppermost corner of the image to be deskewed. Hence, it describes, in conjunction with WIA_IPS_DESKEW_Y, where the two upper corners of the skewed image are located within the bounding rectangle defined by WIA_IPS_XPOS, WIA_IPS_YPOS, WIA_IPS_XEXTENT and WIA_IPS_YEXTENT. his property is implemented by the scanner driver if it supports deskewing. The valid values for WIA_IPS_DESKEW_X must be between 0 and (WIA_IPS_XEXTENT - 1). A value of 0 means that no deskew should be performed. This property is optional for items of the categories WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, and WIA_CATEGORY_FILM; and it is not available for WIA_CATEGORY_FINISHED_FILE or WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Note: Contains the number of pixels in the y-direction from WIA_IPS_YPOS to the y-coordinate of the leftmost corner of the image to be deskewed. Hence, it describes, in conjunction with WIA_IPS_DESKEW_X, where the two upper corners of the skewed image are located within the bounding rectangle defined by WIA_IPS_XPOS, WIA_IPS_YPOS, WIA_IPS_XEXTENT and WIA_IPS_YEXTENT. This property is implemented by the scanner driver if it supports deskewing. The valid values for WIA_IPS_DESKEW_Y must be between 0 and (WIA_IPS_YEXTENT - 1). A value of 0 means that no deskew should be performed. This property is optional for items of the categories WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, and WIA_CATEGORY_FILM; and it is not available for WIA_CATEGORY_FINISHED_FILE or WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Note: Contains the current scanner acquisition source and mode. The minidriver creates and maintains this property. An application reads this property to determine the current acquisition source of the scanner or to write this property to set the source and mode of the scanner. In addition, applications use this property to enable and disable duplexer functionality. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_FLAG The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Enables specification of a particular film scanning attachment when there is more than one. This property is required for the WIA_CATEGORY_FILM items when there are multiple film scan items. If the device supports only one root scanner film item then this property is optional. Type: VT_BSTR, Access: Read Only, Valid Values: WIA_PROP_NONE Allowed values: The BSTR should be in the form of @ResourceBinary,-<ResourceID> to allow localization as this string would be exposed to the user through the film scanning UI. |
||||||||||||||||||||||
|
Note: Enables configuration of the current film scan. This property is required for the WIA_CATEGORY_FILM item. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_LIST The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Reserved for future use and is not implemented at this time. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Specifies how many items are stored in the WIA_CATEGORY_FOLDER item. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Turns the scanner lamp on or off. Optional for the WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, and WIA_CATEGORY_FILM items and recommended for WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_LIST The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Sets the maximum time to keep the lamp on when the scanner is not being used. Optional for the WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, and WIA_CATEGORY_FILM items and recommended for WIA_CATEGORY_FILM. Type: VT_UI4, Access: Read/Write, Valid Values: 0 - 0xFFF seconds |
||||||||||||||||||||||
|
Note: Specifies the maximum width, in thousandths of an inch, that is scanned in the horizontal (X) axis at the current resolution. This may be the width of the sheet feeder or the scanning bed, according to the type of item. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Specifies the maximum height, in thousandths of an inch, that is scanned in the vertical (Y) axis at the current resolution. This may be the height of the sheet feeder or the scanning bed, according to the type of item. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Specifies the minimum width, in thousandths of an inch, that is scanned in the horizontal (X) axis at the current resolution. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Specifies the minimum height, in thousandths of an inch, that is scanned in the vertical (Y) axis at the current resolution. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Reserved for future use and is not implemented at this time. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Horizontal Optical Resolution. Highest supported horizontal optical resolution in DPI. This property is a single value. This is not a list of all resolutions that can be generated by the device. Rather, this is the resolution of the device's optics. The minidriver creates and maintains this property. This property is required for all items. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Vertical Optical Resolution. Highest supported vertical optical resolution in DPI. This property is a single value. This is not a list of all resolutions that are generated by the device. Rather, this is the resolution of the device's optics. The minidriver creates and maintains this property. This property is required for all items. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Specifies the current orientation of the documents to be scanned. The minidriver creates and maintains this property. An application sets this property to define the original orientation of a page or image to be acquired. For information on how to use WIA_IPS_ORIENTATION, see WIA_IPS_PAGE_SIZE. Note: Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_LIST The following table has the four constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Contains the size of the page that is currently set to be scanned. An application sets this property to select the dimensions of the page to scan. The minidriver creates and maintains this property. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST For the constants that can be used with this property, see WIA 2.0 Page Size Constants. Note these non-fixed sizes, in particular:
The value of the WIA_IPS_ORIENTATION property determines the orientation of the currently selected page. The WIA_IPS_PAGE_WIDTH and WIA_IPS_PAGE_HEIGHT properties report the page's dimensions, in thousandths of an inch. These properties must be in agreement with WIA_IPS_XEXTENT and WIA_IPS_YEXTENT, which contain the page's dimensions in pixels. Note: If an application sets WIA_IPS_PAGE_SIZE to any value other than the three in the table above, the minidriver should adjust the values of WIA_IPS_PAGE_WIDTH and WIA_IPS_PAGE_HEIGHT to the page's dimensions in thousandths of an inch. It should also adjust the values of WIA_IPS_XEXTENT and WIA_IPS_YEXTENT to the page's dimensions in pixels. If an extent setting (WIA_IPS_XEXTENT or WIA_IPS_YEXTENT) is changed to a value that does not match the current page size setting, the minidriver should change the value of the WIA_IPS_PAGE_SIZE property to WIA_PAGE_CUSTOM. The minidriver should also modify WIA_IPS_PAGE_WIDTH or WIA_IPS_PAGE_HEIGHT in accordance with the new extent setting. If WIA_IPS_ORIENTATION is set to LANDSCAPE, the extent settings will be exchanged relative to their usual values. For example, if an application sets WIA_IPS_PAGE_SIZE to WIA_PAGE_A4, the minidriver sets WIA_IPS_PAGE_WIDTH to 11692 and WIA_IPS_PAGE_HEIGHT to 8267. (The minidriver should also adjust WIA_IPS_XEXTENT and WIA_IPS_YEXTENT accordingly.) Note: The minidriver is responsible for ensuring that the WIA_IPS_ORIENTATION property is in agreement with the current selection area. If an application changes the value of WIA_IPS_ORIENTATION to one that is invalid for the currently selected page size, the minidriver should change the value of WIA_IPS_PAGE_SIZE to a page size that is supported by the new orientation value. If an application sets the WIA_IPS_PAGE_SIZE property to WIA_PAGE_CUSTOM, the current selection area is not affected. The WIA minidriver should obtain the current image layout, starting from the current settings of the WIA_IPS_XPOS and WIA_IPS_YPOS properties. If the page size setting results in a selection area that is outside the scanner's bed, the minidriver must automatically adjust the values of the WIA_IPS_XPOS and WIA_IPS_YPOS properties to valid settings. If the WIA_IPS_PAGE_SIZE and WIA_IPS_ORIENTATION properties are set at the same time, and they are invalid when applied in combination, the minidriver should fail the application's settings by returning an error in the IWiaMiniDrv::drvValidateItemProperties. The following four examples show different WIA_IPS_PAGE_SIZE scenarios.
Example 1: The minidriver reports the settings In the following example, the minidriver sets a custom selection area before an application sets any WIA properties. In this case, the selection area represents the entire flatbed.
Example 2: An application sets the WIA_IPS_PAGE_SIZE property to WIA_PAGE_LETTER
Example 3: An application sets the WIA_IPS_ORIENTATION property to LANDSCAPE The physical bed must be able to acquire a page that was originally in landscape orientation.
Example 4: An application changes the WIA_IPS_XEXTENT property to a smaller value In the following example, an application changes the WIA_IPS_XEXTENT property to 1000. The minidriver should assume that the new value contained in WIA_IPS_XEXTENT is no longer valid for the WIA_IPS_PAGE_SIZE property and should thus change WIA_IPS_PAGE_SIZE to WIA_PAGE_CUSTOM. The minidriver must also adjust WIA_IPS_PAGE_WIDTH.
|
||||||||||||||||||||||
|
Note: Contains the height, in thousandths of an inch, of the currently selected page. The minidriver creates and maintains the WIA_IPS_PAGE_HEIGHT property. An application reads this property to determine the physical dimensions of the page being scanned. If the extent settings are different from the known page sizes, this property reports the height of the page whose WIA_IPS_PAGE_SIZE property is set to WIA_PAGE_CUSTOM (which is a value of the WIA_IPS_PAGE_SIZE property). WIA_IPS_PAGE_HEIGHT must be in sync with WIA_IPS_XEXTENT, which reports the height, in pixels, of the page to be scanned. This property is required for WIA_CATEGORY_FEEDER items. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Contains the width of the current page selected, in thousandths of an inch. An application reads this property to determine the physical dimensions of the page being scanned. If the extent settings are different from known page sizes, this property reports the width of the page whose WIA_IPS_PAGE_SIZE property is set to WIA_PAGE_CUSTOM. WIA_IPS_PAGE_WIDTH must be in sync with the value of WIA_IPS_XEXTENT, which reports the width, in pixels, of the page to be scanned. The minidriver creates and maintains this property. This property is required for WIA_CATEGORY_FEEDER items. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Note: Contains the current number of pages to be acquired from an automatic document feeder. The minidriver creates and maintains this property. Type: VT_I4; Access: Read/Write; Valid values: WIA_PROP_RANGE This is zero through the maximum number of pages that the scanner can scan. The value is ALL_PAGES (= 0) if the scanner can scan continuously. An application reads this property to determine the document feeder's page capacity. The application also sets this property to the number of pages it is going to scan. Note: One sheet of paper will automatically contain two pages if DUPLEX is enabled, even if the back side of the page is blank. Setting WIA_IPS_PAGES to 1 causes a scanner to process one side of the page. We recommend that, if a scanner is unable to scan only one side of a page while in duplex mode, you change the WIA_IPS_PAGES value for the Inc member of the Range member of the WIA_PROPERTY_INFO structure to 2. This value signals the application that it must request pages in multiples of two. A value of ALL_PAGES (= 0) means that all pages that are currently loaded into the document feeder are to be scanned. |
||||||||||||||||||||||
|
Contains the current setting for white and black pixels. The minidriver creates and maintains this property. An application reads this value to determine the value of WHITE or BLACK (depending on what the application is doing). Required for all acquisition enabled or stored items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FINISHED_FILE, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FOLDER items. Type: VT_I4; Access: Read/Write; Valid Values: WIA_PROP_LIST. If the device can be set to only a single value, create a WIA_PROP_LIST type, and place the valid value in it. The following table has the two constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Indicates the preview mode for a device. An application sets this property to place the device into a preview mode. This property is required for the WIA_CATEGORY_FLATBED and WIA_CATEGORY_FILM items, optional for the WIA_CATEGORY_FEEDER item. Type: VT_I4, Access: Read/Write, Valid values: WIA_PROP_LIST The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Specifies whether the existing preview image can be updated during an image preview (in response to a change in the WIA_IPA_DATATYPE or WIA_IPA_DEPTH properties). This property is optional for all acquisition enabled items that support preview scans; that is, WIA_IPS_PREVIEW is supported with WIA_PREVIEW_SCAN. This includes items of types WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Contains the current rotation setting, if it is implemented. The minidriver creates and maintains this property. An application sets this property to inform the driver how much (if at all) to rotate the image before the driver returns it to the application. Note: The WIA minidriver is responsible for rotating the image data before sending it back to the application. The application is responsible for checking the image headers to see the newly rotated values. Considerable confusion exists about resolving the effect of rotation on the current image's selection area (which is defined by the WIA_IPS_XPOS, WIA_IPS_YPOS, WIA_IPS_XEXTENT and WIA_IPS_YEXTENT properties). Selection area refers to the selected area on the physical scanner bed that an image is be acquired from. WIA_IPS_ROTATION does not modify the selection area. The driver applies a counterclockwise rotation according to WIA_IPS_ROTATION only after the driver has acquired the appropriate selection area. WIA_IPS_ROTATION does affect the dimensions of the output image, so these dimensions must be reflected in the resulting image's data header. Optional for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_LIST The following rotation constants are defined.
|
||||||||||||||||||||||
|
Note: Specifies whether the application should use the driver's segmentation filter for multi-region scanning. WIA_IPS_SEGMENTATION must be implemented for WIA_CATEGORY_FLATBED and WIA_CATEGORY_FILM items if they support either the creation of child items with a segmentation filter or if the driver itself creates child items for fixed frames. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE The following table has the two constants that are valid with this property.
Note: |
||||||||||||||||||||||
|
Note: Contains the registration, or alignment and edge detection, for documents that are placed on the flatbed. The minidriver creates and maintains this property. This property indicates how the sheet is horizontally positioned on the scanning head of a handheld or sheet-fed scanner. The property is used to predict where across the scan head a document is placed. For scanners that support more than one scan head, this property is relative to the topmost scan head. This property is mandatory for sheet-fed, scroll-fed, and handheld scanners. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE The following table has the three constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Indicates whether an item needs a preview control displayed to the user. The minidriver creates and maintains this property. Optional for all transfer enabled items. This is usually just items of the categories WIA_ITEM_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FILM, and WIA_CATEGORY_FINISHED_FILE. Type: VT_I4, Access: Read Only, Valid values: WIA_PROP_NONE The following table has the constants that are valid with this property.
|
||||||||||||||||||||||
|
Note: Specifies whether the application (or the filters) can create child items under the current item. Optional for all transfer enabled item categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FILM and even WIA_CATEGORY_FOLDER. (If the storage won't support upload of new items then this property should be either unsupported or supported with the FALSE value.) Items supporting WIA_IPS_SEGMENTATION and WIA_USE_SEGMENTATION_FILTER must also support WIA_IPS_SUPPORTS_CHILD_ITEM_CREATION and have it set to TRUE. Type: VT_I4, Access: Read Only, Valid Values: TRUE and FALSE |
||||||||||||||||||||||
|
Note: Specifies the grayscale value that determines whether a pixel will be converted to white or black when an image is converted to monochromatic. Pixels above the threshold become white. Pixels below the threshold become white. This property is required for acquisition items that support 1-bpp scans and that have the WIA_IPA_DATATYPE property set to WIA_DATA_THRESHOLD. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Note: Specifies whether the driver is capable of transferring multiple child items in single transfer call. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_FLAG The only possible value for this property is WIA_TRANSFER_CHILDREN_SINGLE_SCAN. If this flag is set, then the driver is capable of transfering multiple child items in single transfer call. If the flag is not set, the WIA Service will walk through the child items recursively and then transfer each of those items. |
||||||||||||||||||||||
|
Note: Specifies the number of bytes to upload for the item. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Specifies the maximum warm-up time, in milliseconds, that the device needs before starting the scanning operation. The minidriver creates and maintains this property. An application can read this property to determine the maximum warm-up time for this device. It can then present a "waiting for the device to warm up" dialog box, to let the user know that a wait or pause might occur before anything happens. This property is required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read Only, Valid Values: WIA_PROP_NONE |
||||||||||||||||||||||
|
Contains the current width, in pixels, of the selected image to acquire. An application sets this property to mark the width of a selection area to acquire. This property must agree with the WIA_IPA_PIXELS_PER_LINE property. The minidriver creates and maintains this property. Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Contains the x coordinate, in pixels, of the upper-left corner of the selected image. An application sets this property to mark the upper-left corner of the selection area. The minidriver creates and maintains this property. Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FINISHED_FILE, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Contains the current horizontal resolution, in pixels per inch, for the device. An application sets this property to set the horizontal resolution. The minidriver creates and maintains this property. If the device can be set to only a single value, create a WIA_PROP_LIST type and place the valid value in it. This is also a case where one resolution setting depends on another resolution. (The vertical resolution can depend on the horizontal resolution.) Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FINISHED_FILE, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write or Read Only, Valid Values: WIA_PROP_RANGE or WIA_PROP_LIST |
||||||||||||||||||||||
|
Note: Sets the horizontal scaling, as a percentage, that may be applied to scanned images within the scanner device or its driver. This property is optional for all acquisition enabled items; that is, items of types WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write or Read Only, Valid Values: WIA_PROP_LIST or WIA_PROP_RANGE. Values can be from 1 to maximum VT_I4 (0xFFFF). For example, 100 means no scaling, 050 means scaling down to 50% of the orignal size, and 200 means scaling up to 200% of the original size. |
||||||||||||||||||||||
|
Contains the current height, in pixels, of the selected image to acquire. An application sets this property to mark the height of a selection area. This property must be agree with the value of the WIA_IPA_PIXELS_PER_LINE property. The minidriver creates and maintains this property. Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Current y coordinate, in pixels, of the upper-left corner of the selected image. An application sets this property to mark the upper-left corner of the selection area. The minidriver creates and maintains this property. Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FINISHED_FILE, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write, Valid Values: WIA_PROP_RANGE |
||||||||||||||||||||||
|
Contains the current vertical resolution, in pixels per inch, for the device. An application sets this property to set the vertical resolution. The minidriver creates and maintains this property. If the device can be set to only a single value, create a WIA_PROP_LIST type and place the valid value in it. This is also a case where one resolution setting depends on another resolution. (The horizontal resolution can depend on the vertical resolution.) Required for all acquisition enabled items; that is, items in the categories: WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FINISHED_FILE, and WIA_CATEGORY_FILM. It is not supported for WIA_CATEGORY_FOLDER items. Type: VT_I4, Access: Read/Write or Read Only, Valid Values: WIA_PROP_RANGE or WIA_PROP_LIST |
||||||||||||||||||||||
|
Note: Sets the vertical scaling, as a percentage, that may be applied to scanned images within the scanner device or its driver. This property is optional for all acquisition enabled items; that is, items of types WIA_CATEGORY_FLATBED, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FEEDER_BACK, and WIA_CATEGORY_FILM. Type: VT_I4, Access: Read/Write or Read Only, Valid Values: WIA_PROP_LIST or WIA_PROP_RANGE. Values can be from 1 to maximum VT_I4 (0xFFFF). For example, 100 means no scaling, 050 means scaling down to 50% of the orignal size, and 200 means scaling up to 200% of the original size. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|