Previous Document Next Document

Object Model Reference : Classes : R : RecentFile : Methods : RecentFile.Delete


RecentFile.Delete

Sub Delete()

Description

Member of RecentFile

The Delete method removes a specified document from the Most Recently Used (MRU) list.

 
Removing a document with the Delete method does not delete the actual document — it only removes its name from the MRU list in CorelDRAW.
VBA example

The following VBA example clears the MRU list.

Sub Test()
 Dim rf As RecentFile
 While RecentFiles.Count <> 0
  RecentFiles(1).Delete
 Wend
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.