ElectronClipboard.writeBuffer method
ElectronClipboard › writeBuffer
Unofficial
Writes a buffer to the clipboard as the specified format.Signature:
writeBuffer(format: string, buffer: Buffer, type?: 'clipboard' | 'selection'): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| format | string | The format to write. |
| buffer | Buffer | The buffer to write. |
| type? | 'clipboard' | 'selection' | The clipboard type. |
Returns: void