Tandaan
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o baguhin ang mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Returns or sets the type of the view contained in the specified document window. Read/write.
Syntax
expression. ViewType
expression A variable that represents a DocumentWindow object.
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
This example changes the view in the active window to slide sorter view if the window is currently displayed in normal view.
With Application.ActiveWindow
If .ViewType = ppViewNormal Then
.ViewType = ppViewSlideSorter
End If
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.