FPDF_ImportPagesByIndex method
int
FPDF_ImportPagesByIndex(
- FPDF_DOCUMENT dest_doc,
- FPDF_DOCUMENT src_doc,
- Pointer<
Int> page_indices, - int length,
- int index,
Experimental API. Import pages to a FPDF_DOCUMENT.
dest_doc - The destination document for the pages. src_doc - The document to be imported. page_indices - An array of page indices to be imported. The first page is zero. If |page_indices| is NULL, all pages from |src_doc| are imported. length - The length of the |page_indices| array. index - The page index at which to insert the first imported page into |dest_doc|. The first page is zero.
Returns TRUE on success. Returns FALSE if any pages in |page_indices| is invalid.
Implementation
int FPDF_ImportPagesByIndex(
FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc,
ffi.Pointer<ffi.Int> page_indices,
int length,
int index,
) {
return _FPDF_ImportPagesByIndex(
dest_doc,
src_doc,
page_indices,
length,
index,
);
}