API Documentation
>
CorelDRAW
>
2025-v26
>
Document
>
IVGDocument
Document.FileName property
Returns the file name of a document if it has been saved
Syntax:
Property
Get
FileName
(
)
As
String
Remarks:
The
FileName
property returns the filename of a saved document. See also the
Document.Title
property.
Examples:
The following VBA example displays the filename of the active document.
Sub Path() MsgBox ActiveDocument.FileName End Sub