IPXV_PagesView::SnapPoint Method
From PDF XChange PDF SDK
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 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 34: | 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 == |
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.