Share via


DocumentWindow Object Members

PowerPoint Developer Reference

Represents a document window. The DocumentWindow object is a member of the DocumentWindows collection. The DocumentWindows collection contains all the open document windows.

Methods

  Name Description
Bb251425.methods(en-us,office.12).gif Activate Activates the specified object.
Bb251425.methods(en-us,office.12).gif Close Closes the specified document window.
Bb251425.methods(en-us,office.12).gif FitToPage Adjusts the size of the specified document window to accommodate the information that's currently displayed.
Bb251425.methods(en-us,office.12).gif LargeScroll Scrolls through the specified document window by pages.
Bb251425.methods(en-us,office.12).gif NewWindow Opens a new window that contains the same document that is displayed in the specified window. Returns a DocumentWindow object that represents the new window.
Bb251425.methods(en-us,office.12).gif PointsToScreenPixelsX Converts a horizontal measurement from points to pixels. Used to return a horizontal screen location for a text frame or shape. Returns the converted measurement as a Single.
Bb251425.methods(en-us,office.12).gif PointsToScreenPixelsY Converts a vertical measurement from points to pixels. Used to return a vertical screen location for a text frame or shape. Returns the converted measurement as a Single.
Bb251425.methods(en-us,office.12).gif RangeFromPoint Returns the Shape object that is located at the point specified by the screen position coordinate pair. If no shape is located at the coordinate pair specified, then the method returns Nothing.
Bb251425.methods(en-us,office.12).gif ScrollIntoView Scrolls the document window so that items within a specified rectangular area are displayed in the document window or pane.
Bb251425.methods(en-us,office.12).gif SmallScroll Scrolls through the specified document window by lines and columns.

Properties

  Name Description
Bb251425.properties(en-us,office.12).gif Active Returns whether the specified pane or window is active. Read-only.
Bb251425.properties(en-us,office.12).gif ActivePane Returns a Pane object that represents the active pane in the document window. Read-only.
Bb251425.properties(en-us,office.12).gif Application Returns an Application object that represents the creator of the specified object.
Bb251425.properties(en-us,office.12).gif BlackAndWhite Determines whether the document window display is black and white. Read/write.
Bb251425.properties(en-us,office.12).gif Caption Returns the text that appears in the title bar of the document window. Read-only.
Bb251425.properties(en-us,office.12).gif Height Returns or sets the height of the specified object, in points. Read/write.
Bb251425.properties(en-us,office.12).gif Left Returns or sets a Single that represents the distance in points from the left edge of the document, application, and slide show windows to the left edge of the application window's client area. Setting this property to a very large positive or negative value may position the window completely off the desktop. Read/write.
Bb251425.properties(en-us,office.12).gif Panes Returns a Panes collection that represents the panes in the document window. Read-only.
Bb251425.properties(en-us,office.12).gif Parent Returns the parent object for the specified object.
Bb251425.properties(en-us,office.12).gif Presentation Returns a Presentation object that represents the presentation in which the specified document window or slide show window was created. Read-only.
Bb251425.properties(en-us,office.12).gif Selection Returns a Selection object that represents the selection in the specified document window. Read-only.
Bb251425.properties(en-us,office.12).gif SplitHorizontal Returns or sets the percentage of the document window width that the outline pane occupies in normal view. Corresponds to the pane divider position between the slide and outline panes. Read/write.
Bb251425.properties(en-us,office.12).gif SplitVertical Returns or sets the percentage of the document window height that the slide pane occupies in normal view. Corresponds to the pane divider position between the slide and notes panes. Read/write.
Bb251425.properties(en-us,office.12).gif Top Returns or sets a Single that represents the distance in points from the top edge of the document, application, and slide show window to the top edge of the application window's client area. Read/write.
Bb251425.properties(en-us,office.12).gif View Returns a View object that represents the view in the specified document window. Read-only.
Bb251425.properties(en-us,office.12).gif ViewType Returns or sets the type of the view contained in the specified document window. Read/write.
Bb251425.properties(en-us,office.12).gif Width Returns or sets the width of the specified object, in points. Read/write.
Bb251425.properties(en-us,office.12).gif WindowState Returns or sets the state of the specified window. Read/write.