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

Incorrect BoundingRectangle value #129

Closed
ThinhVu opened this issue Aug 4, 2020 · 2 comments
Closed

Incorrect BoundingRectangle value #129

ThinhVu opened this issue Aug 4, 2020 · 2 comments

Comments

@ThinhVu
Copy link

ThinhVu commented Aug 4, 2020

Hi,
Thank you for the library.

I trying to capture the "busy" control in this application but the problem is BoundingRectangle property of this control is incorrect.

Window size of this application is smaller than it's actual size which shown in Inspect.exe too.

Can you explain what is the root cause of this issue and how to fix?

Capture

@BruceLee569
Copy link
Contributor

BruceLee569 commented Sep 1, 2020

+1

I think the value returned by BoundingRectangle is incorrect because the system has set the display zoom ratio. Multiplying BoundingRectangle by the zoom ratio on my computer should be the correct value.

@yinkaisheng I hope the author can fix this problem.

@yinkaisheng
Copy link
Owner

Fixed, check new version 2.0.10.

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