_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
Syntax
Property OptimizeForWord97() As Boolean
bool OptimizeForWord97 {get; set;}
property Boolean OptimizeForWord97{
Boolean get();
Void set(Boolean);
}
public boolean get_OptimizeForWord97();
public void set_OptimizeForWord97(boolean);
function get OptimizeForWord97() : Boolean;
function set OptimizeForWord97(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
_Document Interface
Microsoft.Office.Interop.Word Namespace