Click here to view all files
 
Represents the options for controlling the behaviors, content, and appearance of the presentation.

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 class PresentationOptions
Visual Basic (Declaration)
Public Class PresentationOptions

Remarks

When running a presentation in full-screen mode (PresentationMode.Presenting), there are various options that you can specify to affect how and what is presented. For example you can specify that a limited range of the slides collection is presented and whether slide transitions can include changes to the basemap. The PresentationOptions class allows you to get and set these options.

Examples

The code below demonstrates how to access the presentation options and report them.
CopyC#
PresentationOptions presentationOptions = ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationOptions;

System.Diagnostics.Debug.WriteLine("Slides can change the basemap: " + presentationOptions.AllowBasemapChange.ToString());
System.Diagnostics.Debug.WriteLine("Automatically advance the slides: " + presentationOptions.AutomaticSlideAdvance.ToString());
System.Diagnostics.Debug.WriteLine("Display presentation toolbar: " + presentationOptions.ShowToolbar.ToString());
System.Diagnostics.Debug.WriteLine("When auto-presenting, pause time (in seconds): " + presentationOptions.SlideAdvanceInterval.ToString());
System.Diagnostics.Debug.WriteLine("Presentation slide range: " + presentationOptions.SlideRange.SlideFrom.ToString() + " to " + presentationOptions.SlideRange.SlideFrom.ToString());
System.Diagnostics.Debug.WriteLine("Use custom slide range: " + presentationOptions.UseSlideRange.ToString());
System.Diagnostics.Debug.WriteLine("Font smoothing for slide titles: " + presentationOptions.UseFontSmoothing.ToString());
CopyVB.NET
Dim presentationOptions As PresentationOptions = ESRI.ArcGISExplorer.Application.Application.Presentation.PresentationOptions

System.Diagnostics.Debug.WriteLine("Slides can change the basemap: " & presentationOptions.AllowBasemapChange)
System.Diagnostics.Debug.WriteLine("Automatically advance the slides: " & presentationOptions.AutomaticSlideAdvance)
System.Diagnostics.Debug.WriteLine("Display presentation toolbar: " & presentationOptions.ShowToolbar)
System.Diagnostics.Debug.WriteLine("When auto-presenting, pause time (in seconds): " & presentationOptions.SlideAdvanceInterval)
    System.Diagnostics.Debug.WriteLine("Presentation slide range: " & presentationOptions.SlideRange.SlideFrom & " to " & presentationOptions.SlideRange.SlideFrom)
System.Diagnostics.Debug.WriteLine("Use custom slide range: " & presentationOptions.UseSlideRange.ToString())
System.Diagnostics.Debug.WriteLine("Font smoothing for slide titles: " & presentationOptions.UseFontSmoothing)

Inheritance Hierarchy

System..::.Object
  ESRI.ArcGISExplorer.Application..::.PresentationOptions

See Also

Relate Topics:
  PresentationOptions Members
  PresentationOptions Methods
  PresentationOptions Properties
Created by Atop CHM to web converter,© 2009 all right reserved.