Automation:
ulong[256]
GatherStatistics
(
[in]
IMultiSelection
pSelection)
;
Native (C++):
HRESULT
GatherStatistics
(
[in]
IMultiSelection *
pSelection,
[out, retval]
unsigned __int64[256]
pStatsBuffer)
;
Parameters
pSelectionMultiple Selection object that describing ranges, in which you want to calculate statistics.pStatsBufferPointer to the statistics array.Return Value
Automation:Statistics array.Native:
S_OK or standard OLE error code.
Examples
Calculating General Statistics
C++Copy Code
// pFileDocument and pMultiSelection are initialized elsewhere
unsigned __int64 data[256];
pFileDocument->GatherStatistics(pMultiSelection, data);
See Also