Previous Document Next Document

Object Model Reference : Classes : C : Clipboard : Methods : Clipboard.Clear


Clipboard.Clear

Sub Clear()

Description

Member of Clipboard

The Clear method removes any and all data from the system Clipboard. The Clipboard should be cleared after large files, no longer needed, are pasted into a document. Clearing the Clipboard of these large files frees up any system resources that the file is currently using in the Clipboard.

VBA example

The following VBA example pastes the current contents of the system Clipboard in the active document and uses the Clear method to remove the data from the Clipboard.

Sub ClipboardClear()
ActiveLayer.Paste
Clipboard.Clear
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.