This document is archived and information here might be outdated. Recommended version. |
The type of map document currently loaded in the object.
[Visual Basic .NET] Public ReadOnly Property DocumentType As esriMapDocumentType
[C#] public esriMapDocumentType DocumentType {get;}
[C++]
HRESULT get_DocumentType(
esriMapDocumentType* Type
);
[C++]
Parameters Type [out, retval]
Type is a parameter of type esriMapDocumentType*
Returns the type of MapDocument that is open.
If a map template (*.mxt) is open esriMapDocumentTypeMxd will be returned.