# Document.AutoSummarize Method

Visual Studio 2013

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates an automatic summary of the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

## Syntax

```Range AutoSummarize(
ref Object Length,
ref Object Mode,
ref Object UpdateProperties
)
```

#### Parameters

Length
Type: System.Object

The length of the summary as a percentage of the total document length (the larger the number, the more detail is included in the summary).

Mode
Type: System.Object

One of the WdSummaryMode values that specifies the way the summary is displayed.

UpdateProperties
Type: System.Object

true to update the Keyword and Comments boxes in the Properties dialog box to reflect the content of the summary for the document.

#### Return Value

Type: Microsoft.Office.Interop.Word.Range
A Range that includes the summary of the document.

## Remarks

The values of the Mode parameter correspond to the options in the AutoSummarize dialog box.

### Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.