Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.Title


Document.Title

Property Title As String

Description

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.

VBA example

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

Sub DocTitle()
 MsgBox ActiveDocument.Title
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.