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