API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.Title property
Returns the name of a document that has not yet been saved
Syntax:
Property Get Title() As String
Remarks:
The Title property returns a value that identifies the title of a document. The Title property returns the full file name, acting the same way as the FullFileName property, except that you can return the title for a document that has not yet been saved. In this case, the property returns a string such as Graphic1. This string is also shown in the document window caption.
Examples:
The following VBA example displays the title of the active document.
Sub DocTitle()
MsgBox ActiveDocument.Title 
End Sub