View MembersĀ 

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

The following tables list the members exposed by the View type.

Public Properties

  Name Description
Application Returns a Application object that represents the Microsoft Word application.
BrowseToWindow  
Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
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. 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.
DisplaySmartTags True for Microsoft Word to display an underline beneath smart tags in a document.
Draft True if all the text in a window is displayed in the same sans-serif font with minimal formatting to speed up display.
EnlargeFontsLessThan  
FieldShading Returns or sets on-screen shading for form fields.
FullScreen True if the window is in full-screen view.
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.
MailMergeDataView True if mail merge data is displayed instead of mail merge fields in the specified window.
Parent Returns an object that represents the parent object of the specified 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.
ReadingLayoutAllowMultiplePages Sets or returns a Boolean that represents whether reading layout view displays two pages side by side.
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.
RevisionsBalloonSide Sets or returns a constant that specifies whether Microsoft 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 Word that specifies the width of the revision balloons.
RevisionsBalloonWidthType Sets or returns a constant representing the global setting that specifies how Microsoft Word measures the width of revision balloons.
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.
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.
SeekView Returns or sets the document element displayed in print layout view.
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.
ShowAll True if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed.
ShowAnimation True if text animation is displayed.
ShowBookmarks True if square brackets are displayed at the beginning and end of each bookmark.
ShowComments True for Microsoft Word to display the comments in a document.
ShowDrawings True if objects created with the drawing tools are displayed in print layout view.
ShowFieldCodes True if field codes are displayed.
ShowFirstLineOnly True if only the first line of body text is shown in outline view.
ShowFormat True if character formatting is visible in outline view.
ShowFormatChanges True if character formatting is visible in outline view.
ShowHiddenText True if text formatted as hidden text is displayed.
ShowHighlight True if highlight formatting is displayed and printed with a document.
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.
ShowInkAnnotations Returns or sets a 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.
ShowMainTextLayer True if the text in the specified document is visible when the header and footer areas are displayed.
ShowObjectAnchors True if object anchors are displayed next to items that can be positioned in print layout view.
ShowOptionalBreaks True if Microsoft Word displays optional line breaks.
ShowParagraphs True if paragraph marks are displayed.
ShowPicturePlaceHolders True if blank boxes are displayed as placeholders for pictures.
ShowRevisionsAndComments True for Microsoft Word to display revisions and comments that were made to a document with Track Changes enabled.
ShowSpaces True if space characters are displayed.
ShowTabs True if tab characters are displayed.
ShowTextBoundaries True if dotted lines are displayed around page margins, text columns, objects, and frames in print layout view.
ShowXMLMarkup Returns An Integer that represents whether XML tags are viewed in a document.
SplitSpecial Returns or sets the active window pane.
TableGridlines True if table gridlines are displayed.
Type Returns or sets the view type.
WrapToWindow True if lines wrap at the right edge of the document window rather than at the right margin or the right column boundary.
Zoom Returns a Zoom object that represents the magnification for the specified view.

Top

Public 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 or the specified range by one heading level.
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.
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.
ShowAllHeadings Toggles 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.

Top

See Also

Reference

View Interface
Microsoft.Office.Interop.Word Namespace