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