ArcGIS Explorer Component Help |
PresentationOptions..::.SlideRange Property |
PresentationOptions Class Example See Also |
Gets or sets the slide range of the presentation.
Namespace:
ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public SlideRange SlideRange { get; set; } |
Visual Basic (Declaration) |
---|
Public Property SlideRange As SlideRange |
Field Value
A SlideRange representing the set of slides included in the user specified slide range.Remarks
When presenting a presentation's slides, you can limit the range of slides shown by specifying a SlideRange and setting
the UseSlideRange to trueTruetruetrue (True in Visual Basic).
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