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*  View,
+
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]          IPXV_PagesView*  pView,
                 [in]          IPXC_Annotation*  Annot,
+
                 [in]          IPXC_Annotation*  pAnnot,
                 [in]          POINT*            ScreenPos,
+
                 [in]          POINT*            stScreenPos,
                 [in]          PXC_Point*        PagePos,
+
                 [in]          PXC_Point*        stPagePos,
                 [out, retval]  LONG*            Res);</pre>
+
                 [out, retval]  LONG*            nRes);</pre>
  
 
== Parameters ==
 
== Parameters ==
;View
+
;pView
 
:[in]  Pointer to [[PXV:IPXV_PagesView|IPXV_PagesView]].
 
:[in]  Pointer to [[PXV:IPXV_PagesView|IPXV_PagesView]].
;Annot
+
;pAnnot
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
;ScreenPos
+
;stScreenPos
 
:[in]  Pointer to POINT.
 
:[in]  Pointer to POINT.
;PagePos
+
;stPagePos
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;Res
+
;nRes
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Latest revision as of 03:45, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT HitTest([in]           IPXV_PagesView*   pView,
                [in]           IPXC_Annotation*  pAnnot,
                [in]           POINT*            stScreenPos,
                [in]           PXC_Point*        stPagePos,
                [out, retval]  LONG*             nRes);

Parameters

pView
[in] Pointer to IPXV_PagesView.
pAnnot
[in] Pointer to IPXC_Annotation.
stScreenPos
[in] Pointer to POINT.
stPagePos
[in] Pointer to PXC_Point.
nRes
[out, retval] Pointer to LONG.

Return Value

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

See Also

IPXV_AnnotHandler