IPXC_Pages::InsertPagesFromDocEx Method

From Tracker Software PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:IPXC_Pages::InsertPagesFromDocEx Method}}
 
{{#customTitle:IPXC_Pages::InsertPagesFromDocEx Method}}
 
{{#parentPage:PXV:IPXC_Pages|InsertPagesFromDocEx Method|method}}
 
{{#parentPage:PXV:IPXC_Pages|InsertPagesFromDocEx Method|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  

Revision as of 06:25, 20 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 which exceeds or is equal to the pages count in the core document will insert pages after the last page.
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 which 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.