共用方式為


SlideShowView.AcceleratorsEnabled Property

Determines whether keyboard shortcuts are enabled during a slide show. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property AcceleratorsEnabled As MsoTriState
    Get
    Set
'Usage
Dim instance As SlideShowView
Dim value As MsoTriState

value = instance.AcceleratorsEnabled

instance.AcceleratorsEnabled = value
MsoTriState AcceleratorsEnabled { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

If keyboard shortcuts are disabled during a slide show, you can neither use the keyboard to navigate in the slide show nor press F1 to get a list of keyboard shortcuts. You can still use the ESC key to exit the slide show.

The value of the AcceleratorsEnabled property can be one of these MsoTriState constants.

Constant

Description

msoFalse

Shortcut keys are disabled during a slide show.

msoTrue

The default. Shortcut keys are enabled during a slide show.

See Also

Reference

SlideShowView Interface

SlideShowView Members

Microsoft.Office.Interop.PowerPoint Namespace