ElectronClipboard.writeRTF method
ElectronClipboard › writeRTF
Unofficial
Writes text to the clipboard as RTF.Signature:
writeRTF(text: string, type?: 'clipboard' | 'selection'): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The RTF content. |
| type? | 'clipboard' | 'selection' | The clipboard type. |
Returns: void