From Tracker Software PDF SDK
Revision as of 12:04, 21 May 2015 by Craig
Inserts new empty page to the core document.
HRESULT InsertPage([in] ULONG nBefore, [in] PXC_Rect* mediaBox, [out, defaultvalue(NULL)] IPXC_UndoRedoData** ppUndoData, [out, retval] IPXC_Page** ppNewPage);
- [in] Select page before which the new page will be inserted. Note that entering value which exceeds or is equal to the pages count in the core document will insert new page after the last page.
- [in] Pointer to PXC_Rect containing the dimensions of the new page's media box.
- [out, defaultvalue(NULL)] Pointer to IPXC_UndoRedoData containing the filled Undo/Redo data if any was given to be filled.
- [out, retval] Pointer to IPXC_Page containing the newly created page.
Returns S_OK if operation was successful or error code in other cases.