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