Previous Document Next Document
Document.Title

Property Title As String

Member of Document

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.

The Title property returns a read-only value.

The following code example displays the title of the active document.

Sub DocTitle() 
 MsgBox ActiveDocument.Title 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.