IPXV_AnnotHandler::HitTest Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]          IPXV_PagesView*  pView,
+
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]          IPXV_PagesView*  View,
                 [in]          IPXC_Annotation*  pAnnot,
+
                 [in]          IPXC_Annotation*  Annot,
                 [in]          POINT*            stScreenPos,
+
                 [in]          POINT*            ScreenPos,
                 [in]          PXC_Point*        stPagePos,
+
                 [in]          PXC_Point*        PagePos,
                 [out, retval]  LONG*            nRes);</pre>
+
                 [out, retval]  LONG*            Res);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pView
+
;View
 
:[in]  Pointer to [[PXV:IPXV_PagesView|IPXV_PagesView]].
 
:[in]  Pointer to [[PXV:IPXV_PagesView|IPXV_PagesView]].
;pAnnot
+
;Annot
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
;stScreenPos
+
;ScreenPos
 
:[in]  Pointer to POINT.
 
:[in]  Pointer to POINT.
;stPagePos
+
;PagePos
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;nRes
+
;Res
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Revision as of 07:21, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT HitTest([in]           IPXV_PagesView*   View,
                [in]           IPXC_Annotation*  Annot,
                [in]           POINT*            ScreenPos,
                [in]           PXC_Point*        PagePos,
                [out, retval]  LONG*             Res);

Parameters

View
[in] Pointer to IPXV_PagesView.
Annot
[in] Pointer to IPXC_Annotation.
ScreenPos
[in] Pointer to POINT.
PagePos
[in] Pointer to PXC_Point.
Res
[out, retval] Pointer to LONG.

Return Value

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

See Also

IPXV_AnnotHandler