Object Model Reference : Classes : D : Document : Properties : 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 VBA example displays the title of the active document.
Sub DocTitle() |
MsgBox ActiveDocument.Title |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.