IPXC_Pages::MovePages Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Pages::MovePages Method}}
 
{{#customTitle:IPXC_Pages::MovePages Method}}
{{#parentPage:PXV:IPXC_Pages|MovePages Method|method}}
+
{{#parentPage:PXV:IPXC_Pages#Methods|MovePages|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
Moves pages with given [[PXV:IBitSet|indexes]] before the entered destination page.
  
 
== Syntax ==
 
== Syntax ==
Line 11: Line 10:
 
                   [in]                      ULONG                nMoveToBeforeThisPage,
 
                   [in]                      ULONG                nMoveToBeforeThisPage,
 
                   [in, defaultvalue(NULL)]  IProgressMon*        pProgress,
 
                   [in, defaultvalue(NULL)]  IProgressMon*        pProgress,
                   [out, defaultvalue(NULL)]  IPXC_UndoRedoData**  ppUndoData);</pre>
+
                   [out, defaultvalue(NULL)]  IPXC_UndoRedoData**  pUndoData);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pIndexes
 
;pIndexes
:[in]  Pointer to [[PXV:IBitSet|IBitSet]].
+
:[in]  Pointer to [[PXV:IBitSet|IBitSet]] containing the indexes of pages that need to be moved. Note that the [[PXV:IAUX_Inst_CreateBitSet|IAUX_Inst::CreateBitSet]] method should be used to create a bit set.
 
;nMoveToBeforeThisPage
 
;nMoveToBeforeThisPage
:[in]  Value of ULONG.
+
:[in]  Select page before which the moved pages will be inserted. Note that entering value that exceeds or is equal to the pages count in the [[PXV:IPXC_Document|core document]] will insert moved pages after the last page. Entering a value of zero (0) will place the empty pages before the first page in the document.
 
;pProgress
 
;pProgress
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]] containing the progress monitor. Note that the [[PXV:IPXV_Inst_ProgressMon|IPXV_Inst::ProgressMon]] property should be used to get the progress monitor from the [[PXV:IPXV_Inst|instance]].
;ppUndoData
+
;pUndoData
:[out, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_UndoRedoData|IPXC_UndoRedoData]].
+
:[out, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_UndoRedoData|IPXC_UndoRedoData]] containing the filled Undo/Redo data if any was given to be filled.
  
 
== Return Value ==
 
== Return Value ==
Line 27: Line 26:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Pages|IPXC_Pages]].
+
[[PXV:IPXC_Pages|IPXC_Pages]]

Latest revision as of 02:33, 15 June 2015

Moves pages with given indexes before the entered destination page.

Syntax

HRESULT MovePages([in]                       IBitSet*             pIndexes,
                  [in]                       ULONG                nMoveToBeforeThisPage,
                  [in, defaultvalue(NULL)]   IProgressMon*        pProgress,
                  [out, defaultvalue(NULL)]  IPXC_UndoRedoData**  pUndoData);

Parameters

pIndexes
[in] Pointer to IBitSet containing the indexes of pages that need to be moved. Note that the IAUX_Inst::CreateBitSet method should be used to create a bit set.
nMoveToBeforeThisPage
[in] Select page before which the moved pages will be inserted. Note that entering value that exceeds or is equal to the pages count in the core document will insert moved pages after the last page. Entering a value of zero (0) will place the empty pages before the first page in the document.
pProgress
[in, defaultvalue(NULL)] Pointer to IProgressMon containing the progress monitor. Note that the IPXV_Inst::ProgressMon property should be used to get the progress monitor from the instance.
pUndoData
[out, defaultvalue(NULL)] Pointer to IPXC_UndoRedoData containing the filled Undo/Redo data if any was given to be filled.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Pages