Class CompatibilityMode
Represents the compatibility mode of the document.
Inheritance
System.Object
CompatibilityMode
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public sealed class CompatibilityMode : Enum
Remarks
This property provides an option to modify the compatibility mode of the active document, when a new document is created, or an existing document is opened. You can modify it in DocumentEditorEvents event.
Examples
The following code example demonstrates how to modify compatibility mode for the document opened in Syncfusion Word Processor (Document editor) component.
//Sets compatibility mode for the active document as Word 2010.
sfDocumentEditorContainer.DocumentSettings.CompatibilityMode = CompatibilityMode.Word2010;
Fields
Word2003
Specifies the Word 2003 compatibility mode.
Declaration
public const CompatibilityMode Word2003
Field Value
Type |
---|
CompatibilityMode |
Word2007
Specifies the Word 2007 compatibility mode.
Declaration
public const CompatibilityMode Word2007
Field Value
Type |
---|
CompatibilityMode |
Word2010
Specifies the Word 2010 compatibility mode.
Declaration
public const CompatibilityMode Word2010
Field Value
Type |
---|
CompatibilityMode |
Word2013
Specifies the Word 2013 compatibility mode.
Declaration
public const CompatibilityMode Word2013
Field Value
Type |
---|
CompatibilityMode |