_Document.ComputeStatistics(WdStatistic, Object) _Document.ComputeStatistics(WdStatistic, Object) Method

Definition

Returns a statistic based on the contents of the specified document.

public int ComputeStatistics (Microsoft.Office.Interop.Word.WdStatistic Statistic, ref object IncludeFootnotesAndEndnotes);
Public Function ComputeStatistics (Statistic As WdStatistic, Optional ByRef IncludeFootnotesAndEndnotes As Object) As Integer

Parameters

Statistic
WdStatistic WdStatistic

Required WdStatistic.

IncludeFootnotesAndEndnotes

Optional Object. True to include footnotes and endnotes when computing statistics. If this argument is omitted, the default value is False.

Returns

Remarks

Some of the WdStatistic constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Applies to