Skip to content

ElectronClipboard.readImage method

ElectronClipboard › readImage

Unofficial

Reads the clipboard content as a native image.

Signature:

readImage(type?: 'clipboard' | 'selection'): ElectronNativeImage

Parameters:

ParameterTypeDescription
type?'clipboard' | 'selection'The clipboard type.

Returns: ElectronNativeImage — The clipboard image.