IPXC_Pages::InsertPagesFromDocEx Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Pages::InsertPagesFromDocEx Method}}
 
{{#customTitle:IPXC_Pages::InsertPagesFromDocEx Method}}
{{#parentPage:PXV:IPXC_Pages|InsertPagesFromDocEx Method|method}}
+
{{#parentPage:PXV:IPXC_Pages#Methods|InsertPagesFromDocEx|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
Adds pages to the [[PXV:IPXC_Document|current core document]] from the [[PXV:IPXC_Document|source core document]].
  
 
== Syntax ==
 
== Syntax ==
Line 16: Line 15:
 
== Parameters ==
 
== Parameters ==
 
;pSrcDoc
 
;pSrcDoc
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
+
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the source document.
 
;nInsertBefore
 
;nInsertBefore
:[in]  Value of ULONG.
+
:[in]  Select page before which the 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 pages after the last page. Entering a value of zero (0) will place the empty pages before the first page in the document.
 
;pIndexes
 
;pIndexes
:[in]  Pointer to [[PXV:IBitSet|IBitSet]].
+
:[in]  Pointer to [[PXV:IBitSet|IBitSet]] containing the indexes of pages that need to be inserted. Note that the [[PXV:IAUX_Inst_CreateBitSet|IAUX_Inst::CreateBitSet]] method should be used to create a bit set.
 
;nInsertPagesFlags
 
;nInsertPagesFlags
:[in]  Value of ULONG.
+
:[in]  [[PXV:PXC_InsertPagesFlags|Insert page flags]] that set the type of the data that will be copied with pages from the [[PXV:IPXC_Document|source core 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]].
  
 
== Return Value ==
 
== Return Value ==
Line 30: Line 29:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Pages|IPXC_Pages]].
+
[[PXV:IPXC_Pages|IPXC_Pages]]

Latest revision as of 01:54, 25 May 2015

Adds pages to the current core document from the source core document.

Syntax

HRESULT InsertPagesFromDocEx([in]                      IPXC_Document*  pSrcDoc,
                             [in]                      ULONG           nInsertBefore,
                             [in]                      IBitSet*        pIndexes,
                             [in]                      ULONG           nInsertPagesFlags,
                             [in, defaultvalue(NULL)]  IProgressMon*   pProgress);

Parameters

pSrcDoc
[in] Pointer to IPXC_Document containing the source document.
nInsertBefore
[in] Select page before which the pages will be inserted. Note that entering value that exceeds or is equal to the pages count in the core document will insert pages after the last page. Entering a value of zero (0) will place the empty pages before the first page in the document.
pIndexes
[in] Pointer to IBitSet containing the indexes of pages that need to be inserted. Note that the IAUX_Inst::CreateBitSet method should be used to create a bit set.
nInsertPagesFlags
[in] Insert page flags that set the type of the data that will be copied with pages from the source core 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.

Return Value

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

See Also

IPXC_Pages