Gets the visible MapItems associated with this slide.
Namespace:
ESRI.ArcGISExplorer.Mapping
Assembly:
ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
C# |
---|
public ReadOnlyCollection<MapItem> VisibleItems { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Property VisibleItems As ReadOnlyCollection(Of MapItem) |
Field Value
A MapItemCollection containing the MapItems that are visible for the slide.
Remarks
When you create a slide using the CaptureSlide()()()
method on Presentation, the set of MapItems that are visible in the Map
are recorded as the slide's VisibleItems. When the slide is set as the CurrentSlide,
the VisibleItems are made visible in the map and all other MapItems are made not visible.
Examples
The code below shows how you can get the visible MapItems for the current slide and list out their names.
CopyC#
CopyVB.NET

Slide slide = ESRI.ArcGISExplorer.Application.Application.Presentation.CurrentSlide; System.Diagnostics.Debug.WriteLine("There are " + slide.VisibleItems.Count.ToString() + " visible items:"); foreach (MapItem mapItem in slide.VisibleItems) System.Diagnostics.Debug.WriteLine(mapItem.Name);

Dim slide As Slide = ESRI.ArcGISExplorer.Application.Application.Presentation.CurrentSlide System.Diagnostics.Debug.WriteLine("There are " & slide.VisibleItems.Count & " visible items:") For Each mapItem As MapItem In slide.VisibleItems System.Diagnostics.Debug.WriteLine(mapItem.Name) Next
See Also
Relate Topics:
Basemap Property
PopupItem Property
Tag Property
Thumbnail Property
Title Property
Viewpoint Property
Visible Property
Basemap Property
PopupItem Property
Tag Property
Thumbnail Property
Title Property
Viewpoint Property
Visible Property
Created by Atop CHM to web converter,© 2009 all right reserved.