IBitSet::SetSize Method
From PDF XChange PDF SDK
Line 3: | Line 3: | ||
{{#customTitle:IBitSet::SetSize Method}} | {{#customTitle:IBitSet::SetSize Method}} | ||
{{#parentPage:PXV:IBitSet#Methods|SetSize|method}} | {{#parentPage:PXV:IBitSet#Methods|SetSize|method}} | ||
− | |||
Sets the number of items in the bit-set. Note that this function should be used after the creation of the bit-set, to ensure its correct functionality. Also, this function will clear all previous data in a bit-set. | Sets the number of items in the bit-set. Note that this function should be used after the creation of the bit-set, to ensure its correct functionality. Also, this function will clear all previous data in a bit-set. |
Revision as of 11:12, 28 May 2015
Sets the number of items in the bit-set. Note that this function should be used after the creation of the bit-set, to ensure its correct functionality. Also, this function will clear all previous data in a bit-set.
Syntax
HRESULT SetSize([in] ULONG nNewCount);
Parameters
- nNewCount
- [in] Number of items in the bit-set.
Return Value
Returns S_OK if the operation was successful, otherwise an error code is returned.