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


IARGlobe.ARLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.ARLayer Property
ArcGIS Developer Help

IARGlobe.ARLayer Property

The layer at the specified index.

[Visual Basic .NET]
Public Function get_ARLayer ( _
    ByVal index As Integer _
) As ARLayer
[C#]
public ARLayer get_ARLayer (
    int index
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Returns the ARLayer at the specified index in the ARGlobe's layer collection. Each ARGlobe object manages a number of ARLayer objects that are present at the time the PMF document is published.

Remarks

Use a zero-based index to access an ARLayer. For example, to get the first ARLayer in the layer collection, pass an index of 0, and to get the last ARLayer in the layer collection, pass an index of (ARLayerCount - 1).

See Also

IARGlobe Interface

.NET Samples

ArcReaderGlobeControl document properties