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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.