IPXV_PagesView::SnapPoint Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_PagesView::SnapPoint Method}} | {{#customTitle:IPXV_PagesView::SnapPoint Method}} | ||
− | {{#parentPage:PXV:IPXV_PagesView|SnapPoint | + | {{#parentPage:PXV:IPXV_PagesView#Methods|SnapPoint|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 8: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SnapPoint([in] | + | <pre class="brush:cpp;gutter:false">HRESULT SnapPoint([in] ULONG nPageIdx, |
− | [in] | + | [in] PXC_Point* ptIn, |
− | [out] | + | [out] PXC_Point* ptOut, |
− | [in, defaultvalue(0)] | + | [in, defaultvalue(0)] ULONG nAddFlags, |
− | [in, defaultvalue(0)] | + | [in, defaultvalue(0)] ULONG nRemoveFlags, |
− | [in, defaultvalue(NULL)] | + | [in, defaultvalue(NULL)] PXV_SnapParams* pSnapParams, |
− | [in, defaultvalue(NULL)] | + | [in, defaultvalue(NULL)] PXV_GridParams* pGridParams, |
− | [out, retval, defaultvalue( | + | [out, retval, defaultvalue(NULL)] ULONG* pResFlags);</pre> |
== Parameters == | == Parameters == | ||
Line 33: | Line 34: | ||
:[in, defaultvalue(NULL)] Pointer to [[PXV:PXV_GridParams|PXV_GridParams]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:PXV_GridParams|PXV_GridParams]]. | ||
;pResFlags | ;pResFlags | ||
− | :[out, retval, defaultvalue( | + | :[out, retval, defaultvalue(NULL)] Pointer to ULONG. |
== Return Value == | == Return Value == | ||
Line 39: | Line 40: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_PagesView|IPXV_PagesView]] |
Latest revision as of 07:33, 12 June 2015
The method of interface of PDF-XChange Editor SDK.
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(NULL)] 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(NULL)] Pointer to ULONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.