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)

Syntax

'Declaration
Function AutoSummarize ( _
    ByRef Length As Object, _
    ByRef Mode As Object, _
    ByRef UpdateProperties As Object _
) As Range
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).

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace