IBitSet::Set Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IBitSet::Set Method}} | {{#customTitle:IBitSet::Set Method}} | ||
{{#parentPage:PXV:IBitSet#Methods|Set|method}} | {{#parentPage:PXV:IBitSet#Methods|Set|method}} | ||
− | |||
− | Sets bit set items with given values within the interval. | + | Sets bit-set items, with given values, within the interval. |
== Syntax == | == Syntax == | ||
Line 20: | Line 19: | ||
:[in, defaultvalue(-1)] Value that would be appointed to the items. | :[in, defaultvalue(-1)] Value that would be appointed to the items. | ||
− | == Return Value == | + | == Return Value == == |
− | Returns S_OK if operation was successful | + | Return Value == |
+ | Returns S_OK if the operation was successful, otherwise an error code is returned. | ||
== See Also == | == See Also == | ||
[[PXV:IBitSet|IBitSet]] | [[PXV:IBitSet|IBitSet]] |
Latest revision as of 02:12, 15 June 2015
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 ==
Return Value == Returns S_OK if the operation was successful, otherwise an error code is returned.