ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IO.CaptureFromScreen - How to select a monitor?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

haya

6 Posts

Posted - Mar 16 2020 :  03:33:44  Show Profile  Reply
Hi! My system has multiple monitors, so I need to get screen from second monitor. How can I do this?

xequte

5044 Posts

Posted - Mar 17 2020 :  00:12:09  Show Profile  Reply
Hi

Please email me for an update that supports it.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

5044 Posts

Posted - Mar 17 2020 :  00:21:15  Show Profile  Reply
You can use as follows:

// Capture each screen of a multi-monitor system and save to file
for i := 0 to Screen.MonitorCount - 1 do
begin
  ImageEnView1.IO.CaptureFromScreen( iecsSpecifiedMonitor, -1, i );
  ImageEnView1.IO.SaveToFile( format( 'D:\Screen_%d.jpeg', [ i ]));
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: