Partilhar via


Document.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
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property OptimizeForWord97 As Boolean
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

Document Interface

Microsoft.Office.Tools.Word Namespace