ArcGIS Explorer Component Help |
Presentation..::.PresentationOptions Property |
Presentation Class Example See Also |
Gets the presentation options which define how the slides in the presentation are applied.
Namespace:
ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public PresentationOptions PresentationOptions { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Property PresentationOptions As PresentationOptions |
Field Value
The PresentationOptions for the presentation.Remarks
The presentation options define how slides are applied when presenting.
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.
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