LWIAIMAGERESOLUTION

Summary

The LWIAIMAGERESOLUTION structure provides information about the page coordinates and the area selected to be acquired from the scanner.

Syntax

typedef struct _LWIAIMAGERESOLUTION 
{ 
   L_UINT uStructSize; 
   L_INT nBitsPerPixel; 
   L_INT nHorzResolution; 
   L_INT nVertResolution; 
   L_INT nXScaling; 
   L_INT nYScaling; 
   L_INT nRotationAngle; 
   L_INT nXPos; 
   L_INT nYPos; 
   L_INT nWidth; 
   L_INT nHeight; 
} LWIAIMAGERESOLUTION,   * pLWIAIMAGERESOLUTION; 

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

nBitsPerPixel

Bits per pixel the acquired images will have.

nHorzResolution

Horizontal resolution of the WIA source while acquiring the images.

nVertResolution

Vertical resolution of the WIA source while acquiring the images.

nXScaling

The horizontal scaling percentage to be applied to the scanned page within the scanner device.

This value can be from 1 to maximum of 65535. For example, 100 means no scaling, 50 means scaling down to 50% of the original size, and 200 means scaling up to 200% of the original size. NOTE: This member is only available on VISTA (WIA 2.0 version).

nYScaling

The vertical scaling percentage to be applied to the scanned page within the scanner device.

This value can be from 1 to maximum of 65535. For example, 100 means no scaling, 50 means scaling down to 50% of the original size, and 200 means scaling up to 200% of the original size. NOTE: This member is only available on VISTA (WIA 2.0 version).

nRotationAngle

The acquired image rotation angle value before transfer.

nXPos

The X coordinate of the upper left corner of the scanning area.

nYPos

The Y coordinate of the upper left corner of the scanning area.

nWidth

The width of the scanning area.

nHeight

The height of the scanning area.

Comments

This feature is available in LEADTOOLS version 16 or higher.

pLWIAIMAGERESOLUTION is a pointer to an LWIAIMAGERESOLUTION structure. If the function parameter type is pLWIAIMAGERESOLUTION, declare an LWIAIMAGERESOLUTION variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLWIAIMAGERESOLUTION variable is necessary only if the program requires a pointer.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS WIA C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.