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
- 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.