How to take screenshot for parallel execution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-04-19 06:02 PM
Hi There,
I have to take screenshot of each processes during parallel execution so please let me know whether we have option in Blueprism 6.0. If so, how to do it?
Thanks for your help.
Regards,
D Karthik
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-04-19 10:50 AM
Can anyone please help me to know?
Thanks,
D Karthik
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-04-19 12:51 PM
Just do something like this:
Bitmap memoryImage = new Bitmap(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height);
Size s = new Size(memoryImage.Width, memoryImage.Height);
Graphics memoryGraphics = Graphics.FromImage(memoryImage);
memoryGraphics.CopyFromScreen(0,0,0,0,s);
memoryImage.Save(png_path);
p.s. png_path is file to save
