Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an automatic summary of the specified document, and returns a Range object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function AutoSummarize ( _
ByRef Length As Object, _
ByRef Mode As Object, _
ByRef UpdateProperties As Object _
) As Range
'Usage
Dim instance As _Document
Dim Length As Object
Dim Mode As Object
Dim UpdateProperties As Object
Dim returnValue As Range
returnValue = instance.AutoSummarize(Length, _
Mode, UpdateProperties)
Range AutoSummarize(
ref Object Length,
ref Object Mode,
ref Object UpdateProperties
)
Parameters
- Length
Type: System.Object%
Optional Object. The length of the summary as a percentage of the total document length (the larger the number, the more detail that's included in the summary).
- Mode
Type: System.Object%
Optional Object. Specifies the way the summary is displayed. Can be one of the WdSummaryMode constants.
- UpdateProperties
Type: System.Object%
Optional Object. True to update the Keyword and Comments boxes in the Properties dialog box to reflect the content of the summary for the specified document.
Return Value
Type: Microsoft.Office.Interop.Word.Range
Remarks
Corresponds to the options in AutoSummarize dialog box.