IPXC_Page::MoveAnnot Method
From PDF XChange PDF SDK
Moves annotation from the page to the destination page with given Z-order.
Syntax
HRESULT MoveAnnot([in] IPXC_Annotation* pAnnot, [in] ULONG nDestPage, [in, defaultvalue(-1)] LONG nInsertBefore);
Parameters
- pAnnot
- [in] Pointer to IPXC_Annotation containing the annotation that will be moved.
- nDestPage
- [in] Destination page number.
- nInsertBefore
- [in, defaultvalue(-1)] Position in annotation's Z-order on page. By default the moved annotation will appear on top of the other annotations on the page.
Return Value
Returns S_OK if operation was successful or error code in other cases.