Share via


Document.AutoFormatOverride Property (2007 System)

Gets or sets a value that indicates whether automatic formatting options override formatting restrictions in a document where formatting restrictions are in effect.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Property AutoFormatOverride As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.AutoFormatOverride

instance.AutoFormatOverride = value
public bool AutoFormatOverride { get; set; }
public:
property bool AutoFormatOverride {
    bool get ();
    void set (bool value);
}
public function get AutoFormatOverride () : boolean 
public function set AutoFormatOverride (value : boolean)

Property Value

Type: System.Boolean
true if automatic formatting options override formatting restrictions; otherwise, false.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace