Represents a Presentation which is a collection of slides and facilities for capturing and presenting those slides.
Namespace:
ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public sealed class Presentation |
Visual Basic (Declaration) |
---|
Public NotInheritable Class Presentation |
Remarks
A map can contain a collection of slides that highlight the important aspects of the map's content that you want to communicate to others. The Presentation class provides access to the slides of the correct map and provides the facilities to edit and control the presentation.
You can get a reference to the map's slides using the Slides property. You can capture new slides based on the current state of the map using the CaptureSlide()()() method. To play the presentation, set the PresentationMode to Presenting and use the CurrentSlide property, MoveNextSlide()()() and MovePreviousSlide()()() methods to display the various slides in the presentation.
Examples
The code below shows how you can get a reference to the current Presentation within
add-in code, by using the static Presentation member of the Application class. The presentation
is then started by setting the PresentationMode to Presenting. This code assumes you have a using/imports statement
for the ESRI.ArcGISExplorer.Mapping namespace. It also assumes that you may have a using/imports
statement for the System.Windows.Forms namespace, and therefore the Application class is fully
qualified in order to avoid conflicts.
CopyC#
ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationMode = PresentationMode.Presenting;
CopyVB.NET
ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationMode = PresentationMode.Presenting