Skip to content

ElectronClipboard.readImage method

ElectronClipboard › readImage

Unofficial

Reads the clipboard content as a native image.

Signature:

readImage(type?: "clipboard" | "selection" | undefined): ElectronNativeImage

Parameters:

Parameter Type Description
type? "clipboard" | "selection" | undefined The clipboard type.

Returns: ElectronNativeImageThe clipboard image.