This documentation is archived and is not being maintained.

Document.SummaryLength Property

Office 2007
Returns or sets the length of the summary as a percentage of the document length. Read/write Long.

Syntax

expression.SummaryLength

expression   A variable that represents a Document object.

Remarks

A larger number for the SummaryLength property indicates that more detailis included in the summary. This property takes effect immediately if the AutoSummarize toolbar is displayed; otherwise, it takes effect the next time the AutoSummarize method or the SummaryViewMode property is applied to the document.

Example

This example highlights the key points in the active document. The level of detail is set to 50 percent.

Visual Basic for Applications
With ActiveDocument
    .AutoSummarize Mode:=wdSummaryModeHighlight
    .SummaryLength = 50
End With

This example displays the summary and sets the level of detail to 55 percent.

Visual Basic for Applications
With ActiveDocument
    .ShowSummary = True
    .SummaryLength = 55
End With



Show: