ArcObjects Library Reference (Carto)  

IMapDocument.DocumentType Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the type of MapDocument that is open.

Remarks

If a map template (*.mxt) is open esriMapDocumentTypeMxd will be returned.

See Also

IMapDocument Interface