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


IARMap.ARLayerCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.ARLayerCount Property

The number of layer in the map's layer collection.

[Visual Basic .NET]
Public ReadOnly Property ARLayerCount As Integer
[C#]
public int ARLayerCount {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The ARLayerCount property returns the number of ARLayer's within the ARMap.

Remarks

This does not include any IARLayer::ChildARLayer objects if IARLayer::IsGroupLayer returns true for an ARLayer.

See Also

IARMap Interface

.NET Samples

ArcReaderControl document properties (Code Files: DocumentProperties)