Skip to main content

Save-Clipboard-Image

Command Description

Save the image data in clipboard to the specified path

Command Prototype

Clipboard.SaveImage(sPath)

Parameter Description

ParameterRequiredTypeDefaultDescription
sPathTruepath'''C:\Users'''The path to save the image of the clipboard to

Demo

TracePrint("----------------------------Save clipboard image ----------------- ----------") 
//-------------------------------------------------------------------------------
//[Remarks] Save the image data in the clipboard to the specified path.
//Input parameter 1:
// sPath--File save path. Note: The path to save the clipboard image to
//out parameters:
// None
//Command prototype: Clipboard.SaveImage(sPath)
Clipboard.SaveImage('''C:\Users''')