Document.AutoFormat Method (2007 System)
Automatically formats the document. Use the Kind property to specify a format type.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub AutoFormat
'Usage
Dim instance As Document
instance.AutoFormat()
public void AutoFormat()
public:
void AutoFormat()
public function AutoFormat()
.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.