This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDocument Interface > IMapDocument.DocumentType Property (ArcObjects .NET 10.4 SDK) |
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.