_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)
Usage
Dim Statistic As WdStatistic
Dim IncludeFootnotesAndEndnotes As Object
Dim returnValue As Integer
Dim _Document1 As _Document
returnValue = _Document1.ComputeStatistics(Statistic, IncludeFootnotesAndEndnotes)
Syntax
Function ComputeStatistics( _
<InAttribute()> ByVal Statistic As WdStatistic, _
<InAttribute()> Optional ByRef IncludeFootnotesAndEndnotes As Object _
) As Integer
int ComputeStatistics(
[In] WdStatistic Statistic,
[In, Optional] ref object IncludeFootnotesAndEndnotes
);
public: Int32 ComputeStatistics(
WdStatistic^ Statistic,
&Object^ IncludeFootnotesAndEndnotes
);
public int ComputeStatistics(
/*in*/WdStatistic Statistic,
/*in*/System.Object IncludeFootnotesAndEndnotes
);
function ComputeStatistics(
Statistic : WdStatistic,
IncludeFootnotesAndEndnotes : Object
) : int;
Parameters
- Statistic
Required WdStatistic.
- IncludeFootnotesAndEndnotes
Optional Object. True to include footnotes and endnotes when computing statistics. If this argument is omitted, the default value is False.
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
_Document Interface
Microsoft.Office.Interop.Word Namespace