IBitSet::SetSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Sets number of items in the bit set. Note that this function should be used after creation of the bit set for it's proper work. Also, this function will clear all of the previous data in the 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 it correct functionality. Also, this function will clear all previous data in a bit set.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 15:
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful otherwise an error code is returned.
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IBitSet|IBitSet]]
 
[[PXV:IBitSet|IBitSet]]

Revision as of 14:24, 26 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 it 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.

See Also

IBitSet