Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize


The WIA_IPA_PIXELS_PER_LINE property contains the number of pixels in each line of an image (that is, the width of the image, in pixels). The WIA minidriver creates and maintains this property.

Property Type: VT_I4

Valid Values: WIA_PROP_NONE

Access Rights: Read-only


The WIA_IPA_PIXELS_PER_LINE property is optional for Windows Vista drivers for all transfer-enabled items. If WIA_IPA_PIXELS_PER_LINE, WIA_IPA_BYTES_PER_LINE, and WIA_IPA_NUMBER_OF_LINES are implemented, applications written for Windows Server 2003, Windows XP, and previous Windows versions can estimate the number of pixels per line, the number of bytes that are required for each scan line, and the total number of scan lines in the image. These values are not accurate because the image processing filter might modify the actual values, which WIA_IPA_PIXELS_PER_LINE, WIA_IPA_BYTES_PER_LINE, and WIA_IPA_NUMBER_OF_LINES represent.

If Windows Vista driver does not supply these properties, the compatibility layer in the WIA service will add these properties. When the WIA service adds these properties, they will be updated by using the WIA_IPA_DEPTH, WIA_IPS_XEXTENT, and WIA_IPS_YEXTENT properties.

Windows Vista applications should always parse the image header data to get information about the image that is more accurate than the information that is available from the preceding properties.



Optional for Windows Vista drivers for all transfer-enabled items.


Wiadef.h (include Wiadef.h)

See also




Send comments about this topic to Microsoft

© 2015 Microsoft