This document is archived and information here might be outdated.  Recommended version.


IGMxDocument.AddLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcGlobe)  

IGMxDocument.AddLayer Method

Adds a layer to the current focus map.

[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal layer As ILayer _
)
[C#]
public void AddLayer (
    ILayer layer
);

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Remarks

This method is a shortcut to the AddLayer method on the IScene (IScene::AddLayer).

Note: Using IGMxDocument::AddLayer, the layer is added as draped on the globe surface, by default.

See Also

IGMxDocument Interface

.NET Related Topics

GlobeCore