ArcObjects Library Reference (PublisherControls)  

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 (Code Files: DocumentProperties)