IBitSet::Set Method

From PDF XChange PDF SDK
Revision as of 07:48, 25 May 2015 by Palamar (Talk | contribs)

Jump to: navigation, search


Sets bit set items with given values within the interval.

Syntax

HRESULT Set([in]                    ULONG         nStartIndex,
            [in, defaultvalue(1)]   ULONG         nCount,
            [in, defaultvalue(-1)]  VARIANT_BOOL  bOn);

Parameters

nStartIndex
[in] Starting index of the interval.
nCount
[in, defaultvalue(1)] Number of items in the interval.
bOn
[in, defaultvalue(-1)] Value that would be appointed to the items.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IBitSet