Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Description

This class contains various settings so imported documents from other versions of Word and competing products will look the way they were intended to.

C#
vb.net

Remarks

You cannot create a CompatibilitySettings object using the new keyword. You must get an existing CompatibilitySettings object from a Document.

The following sample gets the CompatibilitySettings of a document so you can start working with these properties.

Examples

C#
vb.net

Properties

Name

Description

AdjustTableLineHeight

Sets or returns a boolean that represents whether or not Word will auto-adjust line height in Tables in this document.

AlignRowsIndependent

Sets or returns a boolean that represents whether or not Word will align table rows independently of one another in this document.

AllowLeading

Sets or returns a boolean that represents whether or not Word will add leading (extra space) between rows of text in this document.

AllowSnapInCells

Sets or returns a boolean that represents whether or not Word will snap text to grid while in a table with inline objects in this document.

AllowTableBreaks

Sets or returns a boolean that represents whether or not Word will allow tables to break across pages in this document.

ApplyBreakingRules

Sets or returns a boolean that represents whether or not Word will apply breaking rules in this document.

AutospaceLike95

Sets or returns a boolean that represents whether or not Word will auto space like Word 95 in this document.

BalanceColumns

Sets or returns a boolean that represents whether or not Word will balance columns for continuous section starts in this document.

BorderRulesLike6

Sets or returns a boolean that represents whether or not Word should use Word 6 border rules for this document.

ConvertMailMergeEsc

Sets or returns a boolean that represents whether or not Word will treat \" as "" in mail merge data sources in this document.

ExactOnTop

Sets or returns a boolean that represents whether or not Word will center "exact line height" lines in this document.

ExpandShiftReturn

Sets or returns a boolean that represents whether or not Word will expand character spaces on the line ending in SHIFT + RETURN in this document.

FootnotesLike97

Sets or returns a boolean that represents whether or not Word will layout footnotes like Word 97 in this document.

GrowTableAutoFit

Sets or returns a boolean that represents whether or not Word will allow autofit tables to extend into the margins when in print layout for this document.

JustifyLikeWP6

Sets or returns a boolean that represents whether or not Word will do full justification like WordPerfect 6 for this document.

LeaveBackslashAlone

Sets or returns a boolean that represents if Word will not convert '\' characters into Yen signs in this document.

LineBreaksLike97

Sets or returns a boolean that represents whether or not Word will use line breaking rules from Word 97 for East Asian text in this document.

LineWrapLike6

Sets or returns a boolean that represents whether or not Word will wrap lines like Word 6 for this document.

MapPrintColor

Sets or returns a boolean that represents whether or not Word will print colors in this document as black on non-color printers.

MirrorMargins

Sets or returns a boolean that represents whether or not Word will swap margins on left/right pages.

NoSpaceForRaisedLower

Sets or returns a boolean that represents if Word will not add extra space raised or lowered characters.

NoTabForIndent

Sets or returns a boolean that represents if Word will not add automatic tab stops for a hanging indent.

ShapesLike97

Sets or returns a boolean that represents whether or not Word will layout auto shapes like Word 97 for this document.

ShowBreaksInFrames

Sets or returns a boolean that represents whether or not Word will show hard page or column breaks in frames.

SnapPageBorder

Sets or returns a boolean that represents whether or not Word will snap table and page borders to the page border in this document.

SpaceLikeWP5

Sets or returns a boolean that represents whether or not Word will calculate the width of a space like WordPerfect 5 for this document.

SubBasedOnSize

Sets or returns a boolean that represents whether or not Word will replace fonts based on size in this document.

SuppressExtraAfter

Sets or returns a boolean that represents whether or not Word will supress extra line spacing at the bottom of the page for this document.

SuppressSpaceAfterPageBreak

Sets or returns a boolean that represents whether or not Word will suppress paragraph space before and space after options after a page break in this document.

SuppressSpacingLike5

Sets or returns a boolean that toggles the suppression of line spacing like Word 5 for Mac.

SuppressSpacingLikeWP

Sets or returns a boolean that toggles the suppression of line spacing like WordPerfect.

SupressTopSpacing

Sets or returns a boolean that represents whether or not Word will suppress line spacing at the top of the page in this document.

SwapBorders

Sets or returns a boolean that represents whether or not Word will swap left and right borders on odd facing pages in this document.

TableRowsApart

Sets or returns a boolean that represents whether or not Word will allow table rows to be layed out apart from one another in this document.

TruncateFontHeight

Sets or returns a boolean that represents whether or not Word will truncate font heights for this document.

UnderlineTrailingSpaces

Sets or returns a boolean that represents whether or not Word will underline trailing spaces for this document.

UseAsianBreakingRules

Sets or returns a boolean that represents whether or not Word will use Asian breaking rules for this document.

UseLargerSmallCaps

Sets or returns a boolean that represents whether or not Word will use larger small capitalization like Word 5 for Mac for this document.

UsePrinterMetrics

Sets or returns a boolean that represents whether or not Word will use printer metrics to lay out this document.

UseTableRawWidth

Sets or returns a boolean that represents whether or not Word will lay out tables using their raw width in this document.

UseTableStylesLike2002

Sets or returns a boolean that represents whether or not Word will use table styles like Word 2002. Word 2002 places the top border of a column under the heading row, rather than above it as Word 2003 does.

WrapTextWithPunct

Sets or returns a boolean that represents whether or not Word will wrap text with punctuation in this document.

WrapTrailingSpaces

Sets or returns a boolean that represents whether or not Word will wrap trailing spaces at the end of a line in this document.
  • No labels