SlideShowSettings Class
Represents a type within which all presentation-wide slide show properties are contained.
- Inheritance:
- System.ObjectSlideShowSettings
Properties
AdvanceMode
Gets or sets a value indicating how to advance slides when presenting.
public SlideShowAdvanceMode AdvanceMode { get; set; }
Public Property AdvanceMode As SlideShowAdvanceMode
Property Value
A value indicating how to advance slides when presenting.
CustomShow
Gets the custom slide show from the CustomShows collection.
Applicable only if RangeType has the value CustomShow that can be set with ShowCustomShowSlides(String) method.
public CustomSlideShow CustomShow { get; }
Public ReadOnly Property CustomShow As CustomSlideShow
Property Value
The custom slide show from the CustomShows collection.
CustomShows
Gets the custom shows that are available within the presentation.
public CustomSlideShowCollection CustomShows { get; }
Public ReadOnly Property CustomShows As CustomSlideShowCollection
Property Value
The custom shows that are available within the presentation.
EndingSlide
Gets the index of the show's ending slide from the Slides collection.
Applicable only if RangeType has the value SlideRange that can be set with ShowRangeOfSlides(Int32, Int32) method.
Property Value
- System.Int32
The index of the show's ending slide from the Slides collection.
LoopContinuously
Gets or sets a value indicating whether the slide show should be set to loop at the end.
Property Value
- System.Boolean
true if the slide show should loop at the end; otherwise, false.
PenColor
Gets or sets the pen color that should be used to make markings on the slides while presenting.
Property Value
The pen color that should be used to make markings on the slides while presenting.
RangeType
Gets the type of the range of slides for the show.
public SlideShowRangeType RangeType { get; }
Public ReadOnly Property RangeType As SlideShowRangeType
Property Value
Type of the range of slides for the show.
ShowType
Gets or sets the type of the show.
Property Value
The type of the show.
ShowWithoutAnimation
Gets or sets a value indicating whether slide show animation should not be shown when presenting.
public bool ShowWithoutAnimation { get; set; }
Public Property ShowWithoutAnimation As Boolean
Property Value
- System.Boolean
true if slide show animation should not be shown when presenting; otherwise, false.
ShowWithoutNarration
Gets or sets a value indicating whether slide show narration should not be played when presenting.
public bool ShowWithoutNarration { get; set; }
Public Property ShowWithoutNarration As Boolean
Property Value
- System.Boolean
true if slide show narration should not be played when presenting; otherwise, false.
StartingSlide
Gets the index of the show's starting slide from the Slides collection.
Applicable only if RangeType has the value SlideRange that can be set with ShowRangeOfSlides(Int32, Int32) method.
Property Value
- System.Int32
The index of the show's starting slide from the Slides collection.
Methods
ShowAllSlides()
Shows all the slides from the Slides collection when presenting.
ShowCustomShowSlides(String)
Shows the slides from the custom show with the specified name.
public void ShowCustomShowSlides(string slideShowName)
Public Sub ShowCustomShowSlides(slideShowName As String)
Parameters
slideShowName
- System.String
Name of the custom show.
Exceptions
- System.ArgumentException
slideShowName
is null or System.String.Empty or custom show with the specified name does not exist in the CustomShows collection.
ShowRangeOfSlides(Int32, Int32)
Shows the range of slides from the Slides collection when presenting.
public void ShowRangeOfSlides(int startingSlide, int endingSlide)
Public Sub ShowRangeOfSlides(startingSlide As Integer, endingSlide As Integer)
Parameters
startingSlide
- System.Int32
The index of the starting slide from the Slides collection.
endingSlide
- System.Int32
The index of the ending slide from the Slides collection.
Exceptions
- System.ArgumentOutOfRangeException
startingSlide
or endingSlide
is less than zero.