Removes one or more data formats from the Clipboard.
clipboardData.clearData( [ sDataFormat, [ iPos ] ] );
clipboardData.clearData [ sDataFormat, [ iPos ] ]
sDataFormat
Optional. String that specifies one or more of the following data format values. If omitted, all available formats will be removed.
| Text | Removes all formats including text. |
| LineText | Removes the line text format. |
| BoxText | Removes the box text format. |
iPos
Optional. Specifies the position in the Clipboard history if you want to remove older clipboard data. If this is zero or omitted, the current data is removed.
clipboardData.clearData();
clipboardData.clearData
Supported on EmEditor Professional Version 5.00 or later.
Send feedback on this topic to Emurasoft