Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > clipboardData Object > Methods

EmEditor Macro Reference: clearData Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - clipboardData Object

clearData Method

Removes one or more data formats from the Clipboard.

[JavaScript]

clipboardData.clearData( [ sDataFormat, [ iPos ] ] );

[VBScript]

clipboardData.clearData [ sDataFormat, [ iPos ] ]

Parameters

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.

Examples

[JavaScript]

clipboardData.clearData();

[VBScript]

clipboardData.clearData

Version

Supported on EmEditor Professional Version 5.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.