Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto detect height and width of the scanner #1

Open
supportreq opened this issue Jun 25, 2018 · 2 comments
Open

Auto detect height and width of the scanner #1

supportreq opened this issue Jun 25, 2018 · 2 comments

Comments

@supportreq
Copy link

Is there a way where the scanner height and width can be auto detected?

@alawii84
Copy link

alawii84 commented Jun 2, 2020

Is there a way where the scanner height and width can be auto detected?

@dejanmauer
Copy link
Owner

Hi!
For detection of the device height/width you need to extend the code to check for WIA property WIA_IPS_PAGE_SIZE.
More:
https://docs.microsoft.com/en-us/windows/win32/wia/-wia-wia2-pagesizeconstants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants