Previous Document Next Document
Clipboard.Clear

Sub Clear()

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.

The following code 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 2007 Corel Corporation. All rights reserved.