Edit : We can directly set UiPath.Core.Image type variable at the first parameter as the above image if set type as System.Drawing.Image.
(At first, used CType but not needed)
Thank you for your quick response. It’s working now.
As per the requirement, after taking the screenshot & before pasting it, bot needs to perform certain activities which are involved with clipboard. So I can’t directly use the ‘Clipboard’ option in ‘Take Screenshot’. Hence saving the Image object & using it in later via ‘Invoke method’