Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
<p> public sealed class CompatibilitySettings</p>
Signature
vb.net
vb.net
<p>Public NotInheritable Class CompatibilitySettings</p>
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.

Example
Code Block
csharp
csharp
titleC#

          WordApplication app = new WordApplication();
          Document doc = app.Create();
          CompatibilitySettings cs = doc.CompatibilitySettings;
        
Code Block
vbnet
vbnet
titlevb.net

          Dim app As New WordApplication()
          Dim doc As Document = app.Create()
          Dim cs As CompatibilitySettings = doc.CompatibilitySettings
        
Properties

Name

Description

AdjustTableLineHeight

Excerpt Include
CompatibilitySettings.AdjustTableLineHeight
CompatibilitySettings.AdjustTableLineHeight
nopaneltrue

AlignRowsIndependent

Excerpt Include
CompatibilitySettings.AlignRowsIndependent
CompatibilitySettings.AlignRowsIndependent
nopaneltrue

AllowLeading

Excerpt Include
CompatibilitySettings.AllowLeading
CompatibilitySettings.AllowLeading
nopaneltrue

AllowSnapInCells

Excerpt Include
CompatibilitySettings.AllowSnapInCells
CompatibilitySettings.AllowSnapInCells
nopaneltrue

AllowTableBreaks

Excerpt Include
CompatibilitySettings.AllowTableBreaks
CompatibilitySettings.AllowTableBreaks
nopaneltrue

ApplyBreakingRules

Excerpt Include
CompatibilitySettings.ApplyBreakingRules
CompatibilitySettings.ApplyBreakingRules
nopaneltrue

AutospaceLike95

Excerpt Include
CompatibilitySettings.AutospaceLike95
CompatibilitySettings.AutospaceLike95
nopaneltrue

BalanceColumns

Excerpt Include
CompatibilitySettings.BalanceColumns
CompatibilitySettings.BalanceColumns
nopaneltrue

BorderRulesLike6

Excerpt Include
CompatibilitySettings.BorderRulesLike6
CompatibilitySettings.BorderRulesLike6
nopaneltrue

ConvertMailMergeEsc

Excerpt Include
CompatibilitySettings.ConvertMailMergeEsc
CompatibilitySettings.ConvertMailMergeEsc
nopaneltrue

ExactOnTop

Excerpt Include
CompatibilitySettings.ExactOnTop
CompatibilitySettings.ExactOnTop
nopaneltrue

ExpandShiftReturn

Excerpt Include
CompatibilitySettings.ExpandShiftReturn
CompatibilitySettings.ExpandShiftReturn
nopaneltrue

FootnotesLike97

Excerpt Include
CompatibilitySettings.FootnotesLike97
CompatibilitySettings.FootnotesLike97
nopaneltrue

GrowTableAutoFit

Excerpt Include
CompatibilitySettings.GrowTableAutoFit
CompatibilitySettings.GrowTableAutoFit
nopaneltrue

JustifyLikeWP6

Excerpt Include
CompatibilitySettings.JustifyLikeWP6
CompatibilitySettings.JustifyLikeWP6
nopaneltrue

LeaveBackslashAlone

Excerpt Include
CompatibilitySettings.LeaveBackslashAlone
CompatibilitySettings.LeaveBackslashAlone
nopaneltrue

LineBreaksLike97

Excerpt Include
CompatibilitySettings.LineBreaksLike97
CompatibilitySettings.LineBreaksLike97
nopaneltrue

LineWrapLike6

Excerpt Include
CompatibilitySettings.LineWrapLike6
CompatibilitySettings.LineWrapLike6
nopaneltrue

MapPrintColor

Excerpt Include
CompatibilitySettings.MapPrintColor
CompatibilitySettings.MapPrintColor
nopaneltrue

MirrorMargins

Excerpt Include
CompatibilitySettings.MirrorMargins
CompatibilitySettings.MirrorMargins
nopaneltrue

NoSpaceForRaisedLower

Excerpt Include
CompatibilitySettings.NoSpaceForRaisedLower
CompatibilitySettings.NoSpaceForRaisedLower
nopaneltrue

NoTabForIndent

Excerpt Include
CompatibilitySettings.NoTabForIndent
CompatibilitySettings.NoTabForIndent
nopaneltrue

ShapesLike97

Excerpt Include
CompatibilitySettings.ShapesLike97
CompatibilitySettings.ShapesLike97
nopaneltrue

ShowBreaksInFrames

Excerpt Include
CompatibilitySettings.ShowBreaksInFrames
CompatibilitySettings.ShowBreaksInFrames
nopaneltrue

SnapPageBorder

Excerpt Include
CompatibilitySettings.SnapPageBorder
CompatibilitySettings.SnapPageBorder
nopaneltrue

SpaceLikeWP5

Excerpt Include
CompatibilitySettings.SpaceLikeWP5
CompatibilitySettings.SpaceLikeWP5
nopaneltrue

SubBasedOnSize

Excerpt Include
CompatibilitySettings.SubBasedOnSize
CompatibilitySettings.SubBasedOnSize
nopaneltrue

SuppressExtraAfter

Excerpt Include
CompatibilitySettings.SuppressExtraAfter
CompatibilitySettings.SuppressExtraAfter
nopaneltrue

SuppressSpaceAfterPageBreak

Excerpt Include
CompatibilitySettings.SuppressSpaceAfterPageBreak
CompatibilitySettings.SuppressSpaceAfterPageBreak
nopaneltrue

SuppressSpacingLike5

Excerpt Include
CompatibilitySettings.SuppressSpacingLike5
CompatibilitySettings.SuppressSpacingLike5
nopaneltrue

SuppressSpacingLikeWP

Excerpt Include
CompatibilitySettings.SuppressSpacingLikeWP
CompatibilitySettings.SuppressSpacingLikeWP
nopaneltrue

SupressTopSpacing

Excerpt Include
CompatibilitySettings.SupressTopSpacing
CompatibilitySettings.SupressTopSpacing
nopaneltrue

SwapBorders

Excerpt Include
CompatibilitySettings.SwapBorders
CompatibilitySettings.SwapBorders
nopaneltrue

TableRowsApart

Excerpt Include
CompatibilitySettings.TableRowsApart
CompatibilitySettings.TableRowsApart
nopaneltrue

TruncateFontHeight

Excerpt Include
CompatibilitySettings.TruncateFontHeight
CompatibilitySettings.TruncateFontHeight
nopaneltrue

UnderlineTrailingSpaces

Excerpt Include
CompatibilitySettings.UnderlineTrailingSpaces
CompatibilitySettings.UnderlineTrailingSpaces
nopaneltrue

UseAsianBreakingRules

Excerpt Include
CompatibilitySettings.UseAsianBreakingRules
CompatibilitySettings.UseAsianBreakingRules
nopaneltrue

UseLargerSmallCaps

Excerpt Include
CompatibilitySettings.UseLargerSmallCaps
CompatibilitySettings.UseLargerSmallCaps
nopaneltrue

UsePrinterMetrics

Excerpt Include
CompatibilitySettings.UsePrinterMetrics
CompatibilitySettings.UsePrinterMetrics
nopaneltrue

UseTableRawWidth

Excerpt Include
CompatibilitySettings.UseTableRawWidth
CompatibilitySettings.UseTableRawWidth
nopaneltrue

UseTableStylesLike2002

Excerpt Include
CompatibilitySettings.UseTableStylesLike2002
CompatibilitySettings.UseTableStylesLike2002
nopaneltrue

WrapTextWithPunct

Excerpt Include
CompatibilitySettings.WrapTextWithPunct
CompatibilitySettings.WrapTextWithPunct
nopaneltrue

WrapTrailingSpaces

Excerpt Include
CompatibilitySettings.WrapTrailingSpaces
CompatibilitySettings.WrapTrailingSpaces
nopaneltrue