IBitSet::SetWithGrow Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IBitSet::SetWithGrow Method}}
 
{{#customTitle:IBitSet::SetWithGrow Method}}
 
{{#parentPage:PXV:IBitSet#Methods|SetWithGrow|method}}
 
{{#parentPage:PXV:IBitSet#Methods|SetWithGrow|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Sets given bit set item with given value adding it to the bit set if the index is exceeding the bit set size. Note that adding new items will not influence the other items values.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;nIndex
 
;nIndex
:[in]  Value of ULONG.
+
:[in]  Index of the item that needs to be set with value.
 
;bOn
 
;bOn
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  New value of the given item.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 08:03, 25 May 2015


Sets given bit set item with given value adding it to the bit set if the index is exceeding the bit set size. Note that adding new items will not influence the other items values.

Syntax

HRESULT SetWithGrow([in]                    ULONG         nIndex,
                    [in, defaultvalue(-1)]  VARIANT_BOOL  bOn);

Parameters

nIndex
[in] Index of the item that needs to be set with value.
bOn
[in, defaultvalue(-1)] New value of the given item.

Return Value

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

See Also

IBitSet