View Object Members
Word Developer Reference |
Contains the view attributes (such as show all, field shading, and table gridlines) for a window or pane.
Methods
Name | Description | |
---|---|---|
CollapseOutline | Collapses the text under the selection or the specified range by one heading level. | |
ExpandOutline | Expands the text under the selection by one heading level. | |
NextHeaderFooter | Moves to the next header or footer, depending on whether a header or footer is displayed in the view. | |
PreviousHeaderFooter | Moves to the previous header or footer, depending on whether a header or footer is displayed in the view. | |
ShowAllHeadings | Switches between showing all text (headings and body text) and showing only headings. | |
ShowHeading | Shows all headings up to the specified heading level and hides subordinate headings and body text. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
DisplayBackgrounds | Returns or sets a Boolean that represents whether background colors and images are shown when a document is displayed in print layout view. | |
DisplayPageBoundaries | True to display the top and bottom margins (white space) and the gray area (gray space) between pages in a document. Read/write Boolean. | |
DisplaySmartTags | True for Microsoft Word to display an underline beneath smart tags in a document. Read/write Boolean. | |
Draft | True if all the text in a window is displayed in the same sans-serif font with minimal formatting to speed up display. Read/write Boolean. | |
FieldShading | Returns or sets on-screen shading for fields. Read/write WdFieldShading. | |
FullScreen | True if the window is in full-screen view. Read/write Boolean. | |
Magnifier | True if the pointer is displayed as a magnifying glass in print preview, indicating that the user can click to zoom in on a particular area of the page or zoom out to see an entire page or spread of pages. Read/write Boolean. | |
MailMergeDataView | True if mail merge data is displayed instead of mail merge fields in the specified window. Read/write Boolean. | |
MarkupMode | Returns or sets a WdRevisionsMode constant that represents the display mode for tracked changes. Read/write. | |
Panning | Returns or sets a Boolean that represents whether Microsoft Office Word is in Panning mode. Read/write. | |
Parent | Returns an Object that represents the parent object of the specified View object. | |
ReadingLayout | Sets or returns a Boolean that represents whether a document is being viewed in reading layout view. | |
ReadingLayoutActualView | Sets or returns a Boolean that represents whether pages displayed in reading layout view are displayed using the same layout as printed pages. | |
ReadingLayoutAllowEditing | Returns a Boolean that represents whether to allow editing of text in Reading Layout mode. Read/write. | |
ReadingLayoutAllowMultiplePages | Sets or returns a Boolean that represents whether reading layout view displays two pages side by side. | |
ReadingLayoutTruncateMargins | Returns or sets a WdReadingLayoutMargin constant that represents whether margins are visible or hidden when a document is viewed in Full Screen Reading view. Read/write. | |
Reviewers | Returns a Reviewers object that represents all reviewers. | |
RevisionsBalloonShowConnectingLines | True for Microsoft Word to display connecting lines from the text to the revision and comment balloons. Read/write Boolean. | |
RevisionsBalloonSide | Sets or returns a WdRevisionsBalloonMargin constant that specifies whether Word displays revision balloons in the left or right margin in a document. | |
RevisionsBalloonWidth | Sets or returns a Single representing the global setting in Microsoft Office Word that specifies the width of the revision balloons. Read/write. | |
RevisionsBalloonWidthType | Sets or returns a WdRevisionsBalloonWidthType constant representing the global setting that specifies how Microsoft Word measures the width of revision balloons. Read/write. | |
RevisionsView | Sets or returns a WdRevisionsView constant representing the global option that specifies whether Word displays the original version of a document or a version with revisions and formatting changes applied. Read/write. | |
SeekView | Returns or sets the document element displayed in print layout view. Read/write WdSeekView. | |
ShadeEditableRanges | Returns or sets a Long that represents whether shading is applied to the ranges in a document for which users have permission to modify. | |
ShowAll | True if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed. Read/write Boolean. | |
ShowAnimation | True if text animation is displayed. Read/write Boolean. | |
ShowBookmarks | True if square brackets are displayed at the beginning and end of each bookmark. Read/write Boolean. | |
ShowComments | True for Microsoft Word to display the comments in a document. Read/write Boolean. | |
ShowCropMarks | Returns or sets a Boolean that represents whether to show crop marks in the corners of pages to indicate where margins are located. Read/write. | |
ShowDrawings | True if objects created with the drawing tools are displayed in print layout view. Read/write Boolean. | |
ShowFieldCodes | True if field codes are displayed. Read/write Boolean. | |
ShowFirstLineOnly | True if only the first line of body text is shown in outline view. Read/write Boolean. | |
ShowFormat | True if character formatting is visible in outline view. Read/write Boolean. | |
ShowFormatChanges | True for Microsoft Word to display formatting changes made to a document with Track Changes enabled. Read/write Boolean. | |
ShowHiddenText | True if text formatted as hidden text is displayed. Read/write Boolean. | |
ShowHighlight | True if highlight formatting is displayed and printed with a document. Read/write Boolean. | |
ShowHyphens | True if optional hyphens are displayed. An optional hyphen indicates where to break a word when it falls at the end of a line. Read/write Boolean. | |
ShowInkAnnotations | Returns or sets Boolean that shows or hides handwritten ink annotations. True displays ink annotations. False hides ink annotations. | |
ShowInsertionsAndDeletions | True for Microsoft Word to display insertions and deletions that were made to a document with Track Changes enabled. Read/write Boolean. | |
ShowMainTextLayer | True if the text in the specified document is visible when the header and footer areas are displayed. This property is equivalent to the Show/Hide Document Text button on the Header and Footer toolbar. Read/write Boolean. | |
ShowMarkupAreaHighlight | Returns or sets a Boolean that represents whether the markup area that shows revision and comment balloons is shaded. Read/write. | |
ShowObjectAnchors | True if object anchors are displayed next to items that can be positioned in print layout view. Read/write Boolean. | |
ShowOptionalBreaks | True if Microsoft Word displays optional line breaks. Read/write Boolean. | |
ShowParagraphs | True if paragraph marks are displayed. Read/write Boolean. | |
ShowPicturePlaceHolders | True if blank boxes are displayed as placeholders for pictures. Read/write Boolean. | |
ShowRevisionsAndComments | True for Microsoft Word to display revisions and comments that were made to a document with Track Changes enabled. Read/write Boolean. | |
ShowSpaces | True if space characters are displayed. Read/write Boolean. | |
ShowTabs | True if tab characters are displayed. Read/write Boolean. | |
ShowTextBoundaries | True if dotted lines are displayed around page margins, text columns, objects, and frames in print layout view. Read/write Boolean. | |
ShowXMLMarkup | Returns a Long that represents whether XML tags are visible in a document. | |
SplitSpecial | Returns or sets the active window pane. Read/write WdSpecialPane. | |
TableGridlines | True if table gridlines are displayed. Read/write Boolean. | |
Type | Returns or sets the view type. Read/write WdViewType. | |
WrapToWindow | True if lines wrap at the right edge of the document window rather than at the right margin or the right column boundary. Read/write Boolean. | |
Zoom | Returns a Zoom object that represents the magnification for the specified view. |