Gets or sets a value indicating if the presentation's slides automatically advance.

Namespace:  ESRI.ArcGISExplorer.Application
Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public bool AutomaticSlideAdvance { get; set; }
Visual Basic (Declaration)
Public Property AutomaticSlideAdvance As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if the slides automatically advance, otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

When the presentation's PresentationMode is Presenting, the slides are advanced by the user when they press the space bar, or the next slide button on the presentation toolbar. By setting AutomaticSlideAdvance to true, the slides will automatically advance after pausing for a period of time defined by SlideAdvanceInterval.

Examples

The code below demonstrates how you define the slide interval, set the slides to automatically advance and start the presentation.
CopyC#
  // 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;
CopyVB.NET
    ' 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

See Also

Relate Topics:
  AllowBasemapChange Property
  ShowToolbar Property
  SlideAdvanceInterval Property
  SlideRange Property
  UseFontSmoothing Property
  UseSlideRange Property
Created by Atop CHM to web converter,© 2009 all right reserved.