View Members

Include Protected Members
Include Inherited Members

Contains the view attributes (show all, field shading, table gridlines, and so on) for a window or pane.

The View type exposes the following members.

Methods

  Name Description
Public method CollapseOutline Collapses the text under the selection or the specified range by one heading level.
Public method ExpandOutline Expands the text under the selection or the specified range by one heading level.
Public method NextHeaderFooter If the selection is in a header, this method moves to the next header within the current section (for example, from an odd header to an even header) or to the first header in the following section. If the selection is in a footer, this method moves to the next footer.
Public method PreviousHeaderFooter If the selection is in a header, this method moves to the previous header within the current section (for example, from an even header to an odd header) or to the last header in the previous section. If the selection is in a footer, this method moves to the previous footer.
Public method ShowAllHeadings Toggles between showing all text (headings and body text) and showing only headings.
Public method ShowHeading Shows all headings up to the specified heading level and hides subordinate headings and body text.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property BrowseToWindow Reserved for internal use.
Public property ConflictMode Gets or sets whether the document is in conflict mode view.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DisplayBackgrounds Returns or sets a Boolean that represents whether background colors and images are shown when a document is displayed in print layout view.
Public property DisplayPageBoundaries True to display the top and bottom margins (white space) and the gray area (gray space) between pages in a document. False to hide from view the white and gray space so that the pages flow together as one long page. The default value is True.
Public property DisplaySmartTags True for Microsoft Word to display an underline beneath smart tags in a document.
Public property Draft True if all the text in a window is displayed in the same sans-serif font with minimal formatting to speed up display.
Public property EnlargeFontsLessThan Reserved for internal use.
Public property FieldShading Returns or sets on-screen shading for form fields.
Public property FullScreen True if the window is in full-screen view.
Public property 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.
Public property MailMergeDataView True if mail merge data is displayed instead of mail merge fields in the specified window.
Public property MarkupMode Returns or sets a WdRevisionsMode constant that represents the display mode for tracked changes. Read/write.
Public property Panning Returns or sets a Boolean that represents whether Microsoft Office Word is in Panning mode. Read/write.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property ReadingLayout Sets or returns a Boolean that represents whether a document is being viewed in reading layout view.
Public property ReadingLayoutActualView Sets or returns a Boolean that represents whether pages displayed in reading layout view are displayed using the same layout as printed pages.
Public property ReadingLayoutAllowEditing Returns a Boolean that represents whether to allow editing of text in Reading Layout mode. Read/write.
Public property ReadingLayoutAllowMultiplePages Sets or returns a Boolean that represents whether reading layout view displays two pages side by side.
Public property 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.
Public property Reviewers Returns a Reviewers object that represents all reviewers.
Public property RevisionsBalloonShowConnectingLines True for Microsoft Word to display connecting lines from the text to the revision and comment balloons.
Public property RevisionsBalloonSide Sets or returns a constant that specifies whether Microsoft Word displays revision balloons in the left or right margin in a document.
Public property RevisionsBalloonWidth Sets or returns a Single representing the global setting in Microsoft Word that specifies the width of the revision balloons.
Public property RevisionsBalloonWidthType Sets or returns a constant representing the global setting that specifies how Microsoft Word measures the width of revision balloons.
Public property RevisionsMode Sets or returns a constant representing the global option that specifies whether Microsoft Word displays balloons in the margin or inline with the document's text.
Public property RevisionsView Sets or returns a constant representing the global option that specifies whether Microsoft Word displays the original version of a document or a version with revisions and formatting changes applied.
Public property SeekView Returns or sets the document element displayed in print layout view.
Public property ShadeEditableRanges Returns or sets an Integer that represents whether shading is applied to the ranges in a document for which users have permission to modify. True shades the ranges in a document that users can modify.
Public property ShowAll True if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed.
Public property ShowAnimation True if text animation is displayed.
Public property ShowBookmarks True if square brackets are displayed at the beginning and end of each bookmark.
Public property ShowComments True for Microsoft Word to display the comments in a document.
Public property 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.
Public property ShowDrawings True if objects created with the drawing tools are displayed in print layout view.
Public property ShowFieldCodes True if field codes are displayed.
Public property ShowFirstLineOnly True if only the first line of body text is shown in outline view.
Public property ShowFormat True if character formatting is visible in outline view.
Public property ShowFormatChanges True if character formatting is visible in outline view.
Public property ShowHiddenText True if text formatted as hidden text is displayed.
Public property ShowHighlight True if highlight formatting is displayed and printed with a document.
Public property 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.
Public property ShowInkAnnotations Returns or sets a Boolean that shows or hides handwritten ink annotations. True displays ink annotations. False hides ink annotations.
Public property ShowInsertionsAndDeletions True for Microsoft Word to display insertions and deletions that were made to a document with Track Changes enabled.
Public property ShowMainTextLayer True if the text in the specified document is visible when the header and footer areas are displayed.
Public property ShowMarkupAreaHighlight Returns or sets a Boolean that represents whether the markup area that shows revision and comment balloons is shaded. Read/write.
Public property ShowObjectAnchors True if object anchors are displayed next to items that can be positioned in print layout view.
Public property ShowOptionalBreaks True if Microsoft Word displays optional line breaks.
Public property ShowOtherAuthors Gets or sets whether other authors' presence should be visible in the document.
Public property ShowParagraphs True if paragraph marks are displayed.
Public property ShowPicturePlaceHolders True if blank boxes are displayed as placeholders for pictures.
Public property ShowRevisionsAndComments True for Microsoft Word to display revisions and comments that were made to a document with Track Changes enabled.
Public property ShowSpaces True if space characters are displayed.
Public property ShowTabs True if tab characters are displayed.
Public property ShowTextBoundaries True if dotted lines are displayed around page margins, text columns, objects, and frames in print layout view.
Public property ShowXMLMarkup Returns An Integer that represents whether XML tags are viewed in a document.
Public property SplitSpecial Returns or sets the active window pane.
Public property TableGridlines True if table gridlines are displayed.
Public property Type Returns or sets the view type.
Public property WrapToWindow True if lines wrap at the right edge of the document window rather than at the right margin or the right column boundary.
Public property Zoom Returns a Zoom object that represents the magnification for the specified view.

Top

See Also

Reference

View Interface

Microsoft.Office.Interop.Word Namespace