Represents a range of slides that are included when advancing the slides in a Presentation.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public struct SlideRange |
Visual Basic (Declaration) |
---|
Public Structure SlideRange |
Remarks
When presenting a presentation's slides, you can limit the range of slides shown by specifying a SlideRange and setting
the UseSlideRange to true.
Examples
The code below demonstrates how to specify a slide range and set the UseSlideRange to true, 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