IUIX_List::HitTest Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IUIX_List::HitTest Method}}
 
{{#customTitle:IUIX_List::HitTest Method}}
 
{{#parentPage:PXV:IUIX_List#Methods|HitTest|method}}
 
{{#parentPage:PXV:IUIX_List#Methods|HitTest|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets the list item by the given point.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]  POINT*  pPos,
+
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]  POINT*  stPos,
                 [out]  LONG*  pItem,
+
                 [out]  LONG*  nItem,
                 [out]  LONG*  pColumn,
+
                 [out]  LONG*  nColumn,
                 [out]  LONG*  pGroup,
+
                 [out]  LONG*  nGroup,
                 [out]  LONG*  pItemHT);</pre>
+
                 [out]  LONG*  nItemHT);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pPos
+
;stPos
:[in]  Pointer to POINT.
+
:[in]  Pointer to POINT containing the position that needs to be checked.
;pItem
+
;nItem
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the resulting item index.  
;pColumn
+
;nColumn
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the column that item belongs to.
;pGroup
+
;nGroup
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the group that item belongs to.
;pItemHT
+
;nItemHT
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the [[PXV:UIX_ListItemHTFlags|list item HT flags]].
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 06:41, 28 June 2016


Gets the list item by the given point.

Syntax

HRESULT HitTest([in]   POINT*  stPos,
                [out]  LONG*   nItem,
                [out]  LONG*   nColumn,
                [out]  LONG*   nGroup,
                [out]  LONG*   nItemHT);

Parameters

stPos
[in] Pointer to POINT containing the position that needs to be checked.
nItem
[out] Pointer to LONG containing the resulting item index.
nColumn
[out] Pointer to LONG containing the column that item belongs to.
nGroup
[out] Pointer to LONG containing the group that item belongs to.
nItemHT
[out] Pointer to LONG containing the list item HT flags.

Return Value

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

See Also

IUIX_List