This documentation is archived and is not being maintained.

Document.AutoSummarize Method

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)

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


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

Type: System.Object

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

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.

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.