IBitSet::GetNumberOfSet 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 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IBitSet::GetNumberOfSet Method}}
 
{{#customTitle:IBitSet::GetNumberOfSet Method}}
{{#parentPage:PXV:IBitSet|GetNumberOfSet Method|method}}
+
{{#parentPage:PXV:IBitSet#Methods|GetNumberOfSet|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
Gets the number of items set to a ''true'' value.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in]          ULONG  nStartPos,
 
<pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in]          ULONG  nStartPos,
 
                       [in]          ULONG  nEndPos,
 
                       [in]          ULONG  nEndPos,
                       [out, retval]  ULONG*  pCount);</pre>
+
                       [out, retval]  ULONG*  nCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nStartPos
 
;nStartPos
:[in]  Value of ULONG.
+
:[in]  Starting position to look for the set values.
 
;nEndPos
 
;nEndPos
:[in]  Value of ULONG.
+
:[in]  Ending position to look for the set values.
;pCount
+
;nCount
:[out, retval]  Pointer to ULONG.
+
:[out, retval]  Number of set values, between the starting and ending position, 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 ==
[[PXV:IBitSet|IBitSet]].
+
[[PXV:IBitSet|IBitSet]]

Latest revision as of 03:12, 15 June 2015

Gets the number of items set to a true value.

Syntax

HRESULT GetNumberOfSet([in]           ULONG   nStartPos,
                       [in]           ULONG   nEndPos,
                       [out, retval]  ULONG*  nCount);

Parameters

nStartPos
[in] Starting position to look for the set values.
nEndPos
[in] Ending position to look for the set values.
nCount
[out, retval] Number of set values, between the starting and ending position, in the bit-set.

Return Value

Returns S_OK if the operation was successful, otherwise an error code is returned.

See Also

IBitSet