Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_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)

int ComputeStatistics(
	[In] WdStatistic Statistic, 
	[In, Optional] ref 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.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen: