Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects the specified object.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub Select ( _
Replace As MsoTriState _
)
'Usage
Dim instance As Shape
Dim Replace As MsoTriState
instance.Select(Replace)
void Select(
MsoTriState Replace
)
Parameters
- Replace
Type: Microsoft.Office.Core.MsoTriState
Specifies whether the selection replaces any previous selection.
Remarks
If you try to make a selection that isn't appropriate for the view, your code will fail. For example, you can select a slide in slide sorter view but not in slide view.
The Replace parameter value can be one of the following MsoTriState constants:
Constant |
Description |
|---|---|
The selection is added to the previous selection. |
|
The default. The selection replaces any previous selection. |