ElectronClipboard.readImage method
ElectronClipboard › readImage
Unofficial
Reads the clipboard content as a native image.Signature:
readImage(type?: 'clipboard' | 'selection'): ElectronNativeImageParameters:
| Parameter | Type | Description |
|---|---|---|
| type? | 'clipboard' | 'selection' | The clipboard type. |
Returns: ElectronNativeImage — The clipboard image.