IPXV_PagesLayoutManager::HitTest Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Returns the page and coordinates on it by specified point in the Control's coordinates system.
+
Returns the page and coordinates on it by specified point in the Pages View's coordinates system.
  
 
== Syntax ==
 
== Syntax ==

Latest revision as of 00:15, 9 June 2016


Returns the page and coordinates on it by specified point in the Pages View's coordinates system.

Syntax

HRESULT HitTest([in]                       POINT*      stDevPoint,
                [out, defaultvalue(NULL)]  PXC_Point*  stPagePoint,
                [out, retval]              LONG*       nPage);

Parameters

stDevPoint
[in] Pointer to POINT containing the point in the Control's coordinate system.
stPagePoint
[out, defaultvalue(NULL)] Pointer to PXC_Point containing the resulting point on page.
nPage
[out, retval] Pointer to LONG containing the resulting page. Will be negative if the point is not on any of the document's pages.

Return Value

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

See Also

IPXV_PagesLayoutManager