IBasicDocument2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IB > IBasicDocument2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcMapUI)  

IBasicDocument2 Interface

Provides additional access to members that control the Basic Document.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Read-only property ActivatedView The activated view. This is the same as the active view unless a data frame is activated within a layout.
Read/write property ActiveView The active view.
Method AddLayer Adds a layer to the current focus map or scene.
Read/write property ContextItem The last item that was right-clicked.
Read/write property CurrentLocation The current mouse location in map units.
Read-only property FocusMap The current focus map.
Read-only property Maps The collection of maps in the document.
Read-only property OperationStack The operation stack.
Read/write property PageLayout The page layout.
Read-only property SearchTolerance The global search tolerance in geographic units for selection.
Read/write property SearchTolerancePixels The global search tolerance in pixels for selection.
Read-only property SelectedItem The selected item in the layer control.
Read-only property SelectedLayer The selected layer in the layer control.
Read-only property StyleGallery Reference to the document's Style Gallery.
Read-only property TableProperties Table properties, for Layers and Tables.
Method UpdateContents Notifies the document that the contents have been updated.

CoClasses that implement IBasicDocument2

CoClasses and Classes Description
GMxDocument (esriArcGlobe) Provides access to members that control the ArcGlobe document.
MxDocument Esri Mx Document.
SxDocument (esriArcScene) Provides access to members that control the ArcScene document.