This documentation is archived and is not being maintained.

_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)

'Usage
Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.OptimizeForWord97

Dim sampleValue As Boolean
_Document1.OptimizeForWord97 = sampleValue

bool OptimizeForWord97 {get; set;}
public boolean get_OptimizeForWord97();
public void set_OptimizeForWord97(boolean);
function get OptimizeForWord97() : Boolean;
function set OptimizeForWord97(Boolean);

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: