API Documentation
>
CorelDRAW
>
2025-v26
>
RecentFiles
>
IVGRecentFiles
RecentFiles.Count property
Gets the number of items in the collection of recent files
Syntax:
Property
Get
Count
(
)
As
Long
Remarks:
The
Count
property returns the number of files in the Most Recently Used (MRU) list of CorelDRAW.
Examples:
The following VBA example clears the MRU list.
Sub Test() Dim rf As RecentFile While RecentFiles.Count <> 0 RecentFiles(1).Delete Wend End Sub