PpViewType Enumeration
Represents the current editing view in the specified document window.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Public Enumeration PpViewType
'Usage
Dim instance As PpViewType
public enum PpViewType
Members
Member name | Description | |
---|---|---|
ppViewSlide | ||
ppViewSlideMaster | ||
ppViewNotesPage | ||
ppViewHandoutMaster | ||
ppViewNotesMaster | ||
ppViewOutline | ||
ppViewSlideSorter | ||
ppViewTitleMaster | ||
ppViewNormal | ||
ppViewPrintPreview | ||
ppViewThumbnails | ||
ppViewMasterThumbnails |
Remarks
Note
The View object can represent any of the document window views: normal view, slide view, outline view, slide sorter view, notes page view, slide master view, handout master view, or notes master view. Some properties and methods of the View object work only in certain views. If you try to use a property or method that's inappropriate for a View object, an error occurs.
Examples
Use the View property of the DocumentWindow object to return the View object. The following example sets the size of window one and then sets the zoom to fit the new window size.
With Windows(1)
.Height = 200
.Width = 250
.View.ZoomToFit = True
End With