다음을 통해 공유


ConversionJobSettings.CompatibilityMode Property

Gets or sets a CompatibilityMode value that specifies the appropriate compatibility mode for the output file. If the file is not an Open XML File format document, this setting is ignored.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property CompatibilityMode As CompatibilityMode
    Get
    Set
'Usage
Dim instance As ConversionJobSettings
Dim value As CompatibilityMode

value = instance.CompatibilityMode

instance.CompatibilityMode = value
[DataMemberAttribute]
public CompatibilityMode CompatibilityMode { get; set; }

Property Value

Type: Microsoft.Office.Word.Server.Conversions.CompatibilityMode
One of the CompatibilityMode values. The default is MaintainCurrentSetting.

Remarks

MaintainCurrentSetting specifies that files maintain their compatibility mode as follows:

  • Binary files and files in Word 97-2003 compatibility mode stay in that mode.

  • Word 2007 documents or documents in Word 2007 compatibility mode stay in that mode.

  • Documents upgraded to Word 2010 stay upgraded.

See Also

Reference

ConversionJobSettings Class

ConversionJobSettings Members

Microsoft.Office.Word.Server.Conversions Namespace