Поделиться через


DocumentBase.OptimizeForWord97 Property

Gets or sets a value that indicates whether Microsoft Office Word optimizes the document for viewing in Word 97 by disabling any incompatible formatting.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property OptimizeForWord97 As Boolean
    Get
    Set
public bool OptimizeForWord97 { get; set; }

Property Value

Type: System.Boolean
true if Microsoft Office Word optimizes the document for viewing in Word 97 by disabling any incompatible formatting; otherwise, false.

Remarks

To optimize all new documents for Word 97 by default, use the OptimizeForWord97byDefault property.

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace