Table of contents
TOC
Collapse the table of content
Expand the table of content

Pane.ViewType Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the type of view for the specified pane. Read-only.

Syntax

expression. ViewType

expression A variable that represents a Pane object.

Return Value

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|

Example

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

See also

Concepts

Pane Object

© 2018 Microsoft