Modifica

Condividi tramite


_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);
abstract member ComputeStatistics : Microsoft.Office.Interop.Word.WdStatistic * obj -> int
Public Function ComputeStatistics (Statistic As WdStatistic, Optional ByRef IncludeFootnotesAndEndnotes As Object) As Integer

Parameters

Statistic
WdStatistic

Required WdStatistic.

IncludeFootnotesAndEndnotes
Object

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