_Document.OptimizeForWord97 Property

Determines if Microsoft Word optimizes the current document for viewing in Word 97.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property OptimizeForWord97 As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.OptimizeForWord97

instance.OptimizeForWord97 = value
bool OptimizeForWord97 { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if Microsoft Word optimizes the current document for viewing in Word 97 by disabling any incompatible formatting, and False if not. Set the property value to True or False to enable or disable the functionality.

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

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace