IBitSet::GetNumberOfSet Method
From PDF XChange PDF SDK
Gets the number of items set to a true value.
Syntax
HRESULT GetNumberOfSet([in] ULONG StartPos, [in] ULONG EndPos, [out, retval] ULONG* Count);
Parameters
- StartPos
- [in] Starting position to look for the set values.
- EndPos
- [in] Ending position to look for the set values.
- Count
- [out, retval] Number of set values, between the starting and ending position, in the bit-set.
Return Value
Returns S_OK if the operation was successful, otherwise an error code is returned.