IBitSet::SetSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IBitSet::SetSize Method}}
 
{{#customTitle:IBitSet::SetSize Method}}
{{#parentPage:PXV:IBitSet|method}}
+
{{#parentPage:PXV:IBitSet#Methods|SetSize|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
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 ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetSize([in] ULONG nNewCount);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetSize([in] ULONG nNewCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nNewCount''
+
;nNewCount
:[in]  Value of ULONG.
+
:[in]  Number of items in the bit-set.
  
 
== 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 ==
See also [[PXV:IBitSet|IBitSet]].
+
[[PXV:IBitSet|IBitSet]]

Latest revision as of 02:12, 15 June 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.

See Also

IBitSet