Forum > Graphics

Screenshot multi monitor

(1/1)

xinyiman:
Hi, searching the forum a bit, I tried to implement a screenshot of one of the monitors of the PC on which the program runs.

I attach example that doesn't work as it should. The screen of monitor 0 works well, from the second onwards I'm doing something wrong.

Who can help me? A thousand thanks

DragoRosso:
You are in trouble with different DPI and the resizing of the monitors.

If the monitors are differents DPI and / or different resizing, you must calculate the real dimension (may be quote X and / or Y) of the corners.

I never tried to catch a single part of a monitor, but for sure this should be the problem.

Bye

DragoRosso:
Instead to calculate "by code", sets the property in the projects option DPI AWARE PER MONITOR V2

Bye

xinyiman:
Thanks

Navigation

[0] Message Index

Go to full version