Pane.ViewType Property
Returns the type of view for the specified pane. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property ViewType As PpViewType
Get
'Usage
Dim instance As Pane
Dim value As PpViewType
value = instance.ViewType
PpViewType ViewType { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.PpViewType
PpViewType
Remarks
The value of the ViewType property can be one of these PpViewType constants.
ppViewHandoutMaster |
ppViewMasterThumbnails |
ppViewNormal |
ppViewNotesMaster |
ppViewNotesPage |
ppViewOutline |
ppViewPrintPreview |
ppViewSlide |
ppViewSlideMaster |
ppViewSlideSorter |
ppViewThumbnails |
ppViewTitleMaster |
Examples
If the view in the active pane is slide view, this example makes the notes pane the active pane. The notes pane is the third member of the Panes collection.
With ActiveWindow
If .ActivePane.ViewType= ppViewSlide Then
.Panes(3).Activate
End If
End With