Automation:
ulong[256]
GatherStatistics
(
[in]
IMultiSelection
pSelection)
;
Native (C++):
HRESULT
GatherStatistics
(
[in]
IMultiSelection *
pSelection,
[out, retval]
unsigned __int64[256]
pStatsBuffer)
;
Parameters
pSelection
Multiple Selection object that describing ranges, in which you want to calculate statistics.
pStatsBuffer
Pointer 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);