IPXV_SearchEntryItem::GetDispTextRange Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_SearchEntryItem::GetDispTextRange Method}}
 
{{#customTitle:IPXV_SearchEntryItem::GetDispTextRange Method}}
{{#parentPage:PXV:IPXV_SearchEntryItem|GetDispTextRange Method|method}}
+
{{#parentPage:PXV:IPXV_SearchEntryItem#Methods|GetDispTextRange|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method is used to get the Display Text Ranges by index that are used for highlighting the [[PXV:IPXV_SearchEntryItem_DispText|DispText]] in the Editors Search Pane. This method is optional and will be available when the PXV_SearchFlag_GetDispText flag is used.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetDispTextRange([in]  ULONG  nDispRangeIndex,
 
<pre class="brush:cpp;gutter:false">HRESULT GetDispTextRange([in]  ULONG  nDispRangeIndex,
                         [out]  ULONG*  pFirstCharIndex,
+
                         [out]  ULONG*  nFirstCharIndex,
                         [out]  ULONG*  pCharsCount,
+
                         [out]  ULONG*  nCharsCount,
                         [out]  ULONG*  pWordIndex);</pre>
+
                         [out]  ULONG*  nWordIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nDispRangeIndex
 
;nDispRangeIndex
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the index of the range.
;pFirstCharIndex
+
;nFirstCharIndex
:[out]  Pointer to ULONG.
+
:[out]  Pointer to ULONG containing the index of the first character.
;pCharsCount
+
;nCharsCount
:[out]  Pointer to ULONG.
+
:[out]  Pointer to ULONG containing the number of characters.
;pWordIndex
+
;nWordIndex
:[out]  Pointer to ULONG.
+
:[out]  Pointer to ULONG containing the index of the word.
  
 
== Return Value ==
 
== Return Value ==
Line 27: Line 27:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_SearchEntryItem|IPXV_SearchEntryItem]].
+
[[PXV:IPXV_SearchEntryItem|IPXV_SearchEntryItem]]

Latest revision as of 01:55, 20 January 2017


The method is used to get the Display Text Ranges by index that are used for highlighting the DispText in the Editors Search Pane. This method is optional and will be available when the PXV_SearchFlag_GetDispText flag is used.

Syntax

HRESULT GetDispTextRange([in]   ULONG   nDispRangeIndex,
                         [out]  ULONG*  nFirstCharIndex,
                         [out]  ULONG*  nCharsCount,
                         [out]  ULONG*  nWordIndex);

Parameters

nDispRangeIndex
[in] Value of ULONG containing the index of the range.
nFirstCharIndex
[out] Pointer to ULONG containing the index of the first character.
nCharsCount
[out] Pointer to ULONG containing the number of characters.
nWordIndex
[out] Pointer to ULONG containing the index of the word.

Return Value

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

See Also

IPXV_SearchEntryItem