asmatullah
8 years agoContributor
Regions.AddPicture saves images at two locations
Hi , I am using Regions.AddPicture(scr_obj,scr_name,mouse,image_directory) to save the image to given output directory. After executing this it saves the image at two location 1.Inside the Regio...
- 8 years ago
Regions.AddPicture() always adds images to the Regions collection. To simply save an image to the disk, use pictureObj.SaveToFile(). For example:
// JScript/JavaScript Sys.Desktop.Picture().SaveToFile("C:\\images\\desktop.png");