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)