API Documentation
>
CorelDRAW
>
2025-v26
>
Document
>
IVGDocument
Document.FilePath property
Returns the location of the document
Syntax:
Property
Get
FilePath
(
)
As
String
Remarks:
The
FilePath
property returns the file path where a document is saved. The file path always ends with a backslash (
\
).
Examples:
The following VBA example displays the file path of the active document.
Sub Path() MsgBox ActiveDocument.FilePath End Sub