IPXC_PageText::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]  PXC_PointF*  stPosOnPage,
+
<pre class="brush:cpp;gutter:false">HRESULT HitTest([in]  PXC_PointF*  PosOnPage,
                 [in]  float        nHitLineDelta,
+
                 [in]  float        HitLineDelta,
                       VARIANT_BOOL  bGetNearestIfFail,
+
                       VARIANT_BOOL  GetNearestIfFail,
                 [out]  LONG*        nLineIndex);</pre>
+
                 [out]  LONG*        LineIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;stPosOnPage
+
;PosOnPage
 
:[in]  Pointer to [[PXV:PXC_PointF|PXC_PointF]].
 
:[in]  Pointer to [[PXV:PXC_PointF|PXC_PointF]].
;nHitLineDelta
+
;HitLineDelta
 
:[in]  Value of float.
 
:[in]  Value of float.
;bGetNearestIfFail
+
;GetNearestIfFail
 
: Value of VARIANT_BOOL.
 
: Value of VARIANT_BOOL.
;nLineIndex
+
;LineIndex
 
:[out]  Pointer to LONG.
 
:[out]  Pointer to LONG.
  

Revision as of 07:09, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT HitTest([in]   PXC_PointF*   PosOnPage,
                [in]   float         HitLineDelta,
                       VARIANT_BOOL  GetNearestIfFail,
                [out]  LONG*         LineIndex);

Parameters

PosOnPage
[in] Pointer to PXC_PointF.
HitLineDelta
[in] Value of float.
GetNearestIfFail
Value of VARIANT_BOOL.
LineIndex
[out] Pointer to LONG.

Return Value

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

See Also

IPXC_PageText