Compatibility Property

See Also         Example         Applies To

True if the compatibility option specified by the Type argument is enabled. Compatibility options affect how a document is displayed in Microsoft Word. These options are listed on the Compatibility tab in the Options dialog box (Tools menu). Read/write Boolean.

Syntax

expression.Compatibility(Type)

expression   Required. An expression that returns a Document object.

Type   Required Long. Can be one of the following WdCompatibility constants.

Constant Description
wdAlignTablesRowByRow True if Word 2000 aligns table rows independently.
wdAutospaceLikeWW7 True if Word 2000 auto spaces like Word 95.
wdConvMailMergeEsc True if Word 2000 correctly interprets characters preceded by backslashes (\) in Word version 2.x mail-merge data sources. For example, \" is interpreted as ".
wdDontAdjustLineHeightInTable True if Word 2000 doesn't adjust line height to grid height in tables.
wdDontBalanceSingleByteDoubleByteWidth True if Word 2000 doesn't balance the width of single-byte and double-byte characters.
wdDontULTrailSpace True if Word 2000 doesn't draw underlines on trailing spaces.
wdDontUseHTMLParagraphAutoSpacing True if Word 2000 doesn't use HTML paragraph auto spacing.
wdExactOnTop True if Word 2000 places text at the top of the space allocated for the line when using exact line spacing.
wdExpandShiftReturn True if Word 2000 expands character spaces on line-ending Shift-Returns.
wdFootnoteLayoutLikeWW8 True if Word 2000 lays out footnotes like Word 6.x/95/97.
wdForgetLastTabAlignment True if Word 2000 forgets the last tab alignment when adding a new tab.
wdLayoutRawTableWidth True if Word 2000 lays out tables with their raw width.
wdLayoutTableRowsApart True if Word 2000 allows table rows to lay out apart.
wdLeaveBackslashAlone True if Word 2000 doesn't convert backslash characters into yen signs.
wdLineWrapLikeWord6 True if Word 2000 wraps lines the same way Word 6.0 wraps lines.
wdMWSmallCaps True if Word 2000 applies small capital letter ("small caps") formatting as in Word version 5.x for the Macintosh, which produces slightly larger small caps.
wdNoColumnBalance True if Word 2000 doesn't balance text columns above continuous section breaks.
wdNoExtraLineSpacing True if Word 2000 handles line spacing as in WordPerfect version 5.x. This argument is available only in Word version 7.0.
wdNoLeading True if Word 2000 displays lines of text without leading as in Word version 5.x for the Macintosh.
wdNoSpaceForUL True if Word 2000 doesn't add extra space for underlines. This argument is available only in Word version 7.0.
wdNoSpaceRaiseLower True if Word 2000 doesn't add extra line spacing for raised and lowered characters.
wdNoTabHangIndent True if Word 2000 doesn't automatically add a tab stop to a paragraph formatted with a hanging indent.
wdOrigWordTableRules True if Word 2000 combines table borders as in Word version 5.x for the Macintosh.
wdPrintBodyTextBeforeHeader True if Word 2000 prints the main text layer before the header and footer layer (the reverse of the default order). This allows Word to process PostScript codes in the main text layer the same as in Word version 5.x for the Macintosh.
wdPrintColBlack True if Word 2000 prints colors as black on printers that don't support color.
wdShapeLayoutLikeWW8 True if Word 2000 lays out AutoShapes like Word 97.
wdShowBreaksInFrames True if Word 2000 displays manual ("hard") page or column breaks in any frames that contain them.
wdSpacingInWholePoints True if Word 2000 rounds character-spacing measurements up or down to the nearest whole number.
wdSubFontBySize True if Word 2000 substitutes fonts based on the font size in WordPerfect version 6.0 documents. This argument is available only in Word version 7.0.
wdSuppressBottomSpacing True if Word 2000 removes extra line spacing at the bottom of the page.
wdSuppressSpBfAfterPgBrk True if Word 2000 removes space before or after hard page breaks and column breaks.
wdSuppressTopSpacing True if Word 2000 removes extra line spacing at the top of the page.
wdSuppressTopSpacingMac5 True if Word 2000 handles extra line spacing at the top of the page the same as in Word version 5.x for the Macintosh.
wdSwapBordersFacingPages True if Word 2000 prints a left paragraph border (not a box) on the right side on odd-numbered pages if either the Different odd and even check box (Layout tab) or the Mirror margins check box (Margins tab) is selected in the Page Setup dialog box (File menu).
wdTransparentMetafiles True if Word 2000 doesn't "blank" the area behind metafile pictures.
wdTruncateFontHeight True if Word 2000 rounds the font size up or down as in WordPerfect version 6.x for Windows. This argument is available only in Word version 7.0.
wdUsePrinterMetrics True if Word 2000 uses printer metrics to lay out the document.
wdUseWord97LineBreakingRules True if Word 2000 uses Word 97 line-breaking rules for Asian text.
wdWPJustification True if Word 2000 lays out fully justified text the same as in WordPerfect version 6.x.
wdWPSpaceWidth True if Word 2000 sets the default width of spaces between words to be the same as in WordPerfect version 5.x for Windows and WordPerfect version 6.0 for DOS.
wdWrapTrailSpaces True if Word 2000 wraps spaces at the end of lines to the next line.
wdWW6BorderRules True if Word 2000 handles left and right borders of text lines affected by frames the same as in Word version 6.x.

Remarks

Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.