IUIX_RangesNavigator::GetRangeFromPos Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_RangesNavigator::GetRangeFromPos Method}}
 
{{#customTitle:IUIX_RangesNavigator::GetRangeFromPos Method}}
{{#parentPage:PXV:IUIX_RangesNavigator|method}}
+
{{#parentPage:PXV:IUIX_RangesNavigator#Methods|GetRangeFromPos|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
 +
 +
It returns the index subrange in '''nRangeIndex''' which includes the element having a value '''nPos'''.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetRangeFromPos([in] LONG nPos, [out] ULONG* nRangeIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetRangeFromPos([in]   LONG   nPos,
 +
                        [out] ULONG* nRangeIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nPos''
+
;nPos
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nRangeIndex''
+
;nRangeIndex
 
:[out]  Pointer to ULONG.
 
:[out]  Pointer to ULONG.
  
Line 20: Line 23:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_RangesNavigator|IUIX_RangesNavigator]].
+
[[PXV:IUIX_RangesNavigator|IUIX_RangesNavigator]]

Latest revision as of 06:24, 25 May 2015


The method of interface of PDF-XChange Editor SDK.

It returns the index subrange in nRangeIndex which includes the element having a value nPos.

Syntax

HRESULT GetRangeFromPos([in]   LONG    nPos,
                        [out]  ULONG*  nRangeIndex);

Parameters

nPos
[in] Value of LONG.
nRangeIndex
[out] Pointer to ULONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_RangesNavigator