Export (0) Print
Expand All
Expand Minimize

_Document.ComputeStatistics Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

int ComputeStatistics(
	WdStatistic Statistic,
	ref Object IncludeFootnotesAndEndnotes
)

Parameters

Statistic
Type: Microsoft.Office.Interop.Word.WdStatistic
Required WdStatistic.
IncludeFootnotesAndEndnotes
Type: System.Object%
Optional Object. True to include footnotes and endnotes when computing statistics. If this argument is omitted, the default value is False.

Return Value

Type: System.Int32

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.

Community Additions

ADD
Show:
© 2015 Microsoft