IPXV_PagesView::SnapPoint Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SnapPoint([in] ULONG nPageIdx, [in] PXC_Point* ptIn, [out] PXC_Point* ptOut, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT SnapPoint([in] ULONG nPageIdx, [in] PXC_Point* ptIn, [out] PXC_Point* ptOut, [in, defaultvalue(0)] ULONG nAddFlags, [in, defaultvalue(0)] ULONG nRemoveFlags, [in, defaultvalue(NULL)] PXV_SnapParams* pSnapParams, [in, defaultvalue(NULL)] PXV_GridParams* pGridParams, [out, retval, defaultvalue(0)] ULONG* pResFlags);</pre> |
== Parameters == | == Parameters == | ||
Line 15: | Line 15: | ||
:[out] Pointer to [[PXV:PXC_Point|PXC_Point]]. | :[out] Pointer to [[PXV:PXC_Point|PXC_Point]]. | ||
;''nAddFlags'' | ;''nAddFlags'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of ULONG. |
;''nRemoveFlags'' | ;''nRemoveFlags'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of ULONG. |
;''pSnapParams'' | ;''pSnapParams'' | ||
− | :[in, | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:PXV_SnapParams|PXV_SnapParams]]. |
;''pGridParams'' | ;''pGridParams'' | ||
− | :[in, | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:PXV_GridParams|PXV_GridParams]]. |
;''pResFlags'' | ;''pResFlags'' | ||
− | :[out, retval, | + | :[out, retval, defaultvalue(0)] Pointer to ULONG. |
== Return Value == | == Return Value == |
Revision as of 00:51, 17 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT SnapPoint([in] ULONG nPageIdx, [in] PXC_Point* ptIn, [out] PXC_Point* ptOut, [in, defaultvalue(0)] ULONG nAddFlags, [in, defaultvalue(0)] ULONG nRemoveFlags, [in, defaultvalue(NULL)] PXV_SnapParams* pSnapParams, [in, defaultvalue(NULL)] PXV_GridParams* pGridParams, [out, retval, defaultvalue(0)] ULONG* pResFlags);
Parameters
- nPageIdx
- [in] Value of ULONG.
- ptIn
- [in] Pointer to PXC_Point.
- ptOut
- [out] Pointer to PXC_Point.
- nAddFlags
- [in, defaultvalue(0)] Value of ULONG.
- nRemoveFlags
- [in, defaultvalue(0)] Value of ULONG.
- pSnapParams
- [in, defaultvalue(NULL)] Pointer to PXV_SnapParams.
- pGridParams
- [in, defaultvalue(NULL)] Pointer to PXV_GridParams.
- pResFlags
- [out, retval, defaultvalue(0)] Pointer to ULONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IPXV_PagesView.