This document is archived and information here might be outdated. Recommended version. |
The title of this document.
[Visual Basic .NET]
Public ReadOnly Property Title As String
[C#]
public string Title {get;}
Title returns the name of the currently loaded document or template. It returns "Untitled" if the document has never been saved. If the document object is the Normal template, Title returns Normal.mxt.
Note that file extension is included with the name (e.g. MyDocument.mxd) if the Windows Explorer Folder Option "Hide extensions for known file types" is unchecked when the document is opened. Otherwise, Title returns the name without the file extension.