This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IApplication Interface > IApplication.Document Property (ArcObjects .NET 10.4 SDK) |
The document that is currently loaded in the application.
[Visual Basic .NET] Public ReadOnly Property Document As IDocument
[C#] public IDocument Document {get;}
In ArcMap, the Document is the currently loaded document.
In ArcCatalog, the Document is the Normal template.
Both ArcMap and ArcCatalog applications are composed of several things including a document. The document is an object which controls the representation of data. In ArcMap, the document object is the MxDocument CoClass and in ArcCatalog it is the GxDocument CoClass. Access to these CoClasses is provided through this property.
IApplication Interface | IDocument Interface | MxDocument Class | GxDocument for use with ArcCatalog Class