IBitSet::Set Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IBitSet::Set Method}}
 
{{#customTitle:IBitSet::Set Method}}
 +
{{#parentPage:PXV:IBitSet#Methods|Set|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Sets bit-set items, with given values, within the interval.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Set([in] ULONG nStartIndex, [in, optional] ULONG nCount, [in, optional] VARIANT_BOOL bOn);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Set([in]                   ULONG         nStartIndex,
 +
            [in, defaultvalue(1)]   ULONG         nCount,
 +
            [in, defaultvalue(-1)] VARIANT_BOOL bOn);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nStartIndex''
+
;nStartIndex
:[in]  Value of ULONG.
+
:[in]  Starting index of the interval.
;''nCount''
+
;nCount
:[in, optionalValue of ULONG.
+
:[in, defaultvalue(1)Number of items in the interval.
;''bOn''
+
;bOn
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  Value that would be appointed to the items.
  
== Return Value ==
+
== Return Value == ==
Returns S_OK if operation was successful or error code in other cases.
+
Return Value ==
 +
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 03:12, 15 June 2015

Sets bit-set items, with given values, within the interval.

Syntax

HRESULT Set([in]                    ULONG         nStartIndex,
            [in, defaultvalue(1)]   ULONG         nCount,
            [in, defaultvalue(-1)]  VARIANT_BOOL  bOn);

Parameters

nStartIndex
[in] Starting index of the interval.
nCount
[in, defaultvalue(1)] Number of items in the interval.
bOn
[in, defaultvalue(-1)] Value that would be appointed to the items.

Return Value ==

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

See Also

IBitSet