Gets or sets the slide advance interval when automatically advancing slides.
Namespace:
ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
C# |
---|
public int SlideAdvanceInterval { get; set; } |
Visual Basic (Declaration) |
---|
Public Property SlideAdvanceInterval As Integer |
Field Value
The slide advance interval in seconds.
Remarks
The amount of time each slide is displayed before automatically advancing to the next slide in the presentation in seconds when
AutomaticSlideAdvance is true.
Examples
The code below demonstrates how you define the slide interval, set the slides to automatically advance and start the presentation.
CopyC#
CopyVB.NET

// Set the PresentationOptions to automatically advance the slides every 5 seconds PresentationOptions presentationOptions = ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationOptions; presentationOptions.SlideAdvanceInterval = 5; // pause for 5 seconds on each slide presentationOptions.AutomaticSlideAdvance = true; // Start the presentation ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationMode = PresentationMode.Presenting;

' Set the PresentationOptions to automatically advance the slides every 5 seconds Dim presentationOptions As PresentationOptions = ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationOptions presentationOptions.SlideAdvanceInterval = 5 ' pause for 5 seconds on each slide presentationOptions.AutomaticSlideAdvance = True ' Start the presentation ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationMode = PresentationMode.Presenting