Gets or sets a value indicating if a custom slide range is used when presenting.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

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

Field Value

trueTruetruetrue (True in Visual Basic) if the range of slides that are included in the presentation is defined by SlideRange; otherwise, falseFalsefalsefalse (False in Visual Basic) if the presentation includes the full range of slides.

Remarks

Examples

The following code demonstrates how to get the presentation options and set the slide range to be from the 3rd slide to the 8th slide, using the SlideRange and UseSlideRange properties, then start the presentation.
CopyC#
// Create a new slide range starting at the 3rd slide and ending at the 8th slide
SlideRange slideRange = new SlideRange(2, 7);

// Set the new slide range in the PresentationOptions and ser the SlideRangeSelection to honor it
Presentation presentation = ESRI.ArcGISExplorer.Application.Application.Presentation;
presentation.PresentationOptions.SlideRange = slideRange;
presentation.PresentationOptions.UseSlideRange = true;

// Start the presentation
presentation.PresentationMode = PresentationMode.Presenting;
CopyVB.NET
' Create a new slide range starting at the 3rd slide and ending at the 8th slide
Dim slideRange As New SlideRange(2, 7)

' Set the new slide range in the PresentationOptions and ser the SlideRangeSelection to honor it
Dim presentation As Presentation = ESRI.ArcGISExplorer.Application.Application.Presentation
presentation.PresentationOptions.SlideRange = slideRange
presentation.PresentationOptions.UseSlideRange = True


' Start the presentation
presentation.PresentationMode = PresentationMode.Presenting

See Also