FPDF_ImportPagesByIndex function
- @Native<FPDF_BOOL Function(FPDF_DOCUMENT, FPDF_DOCUMENT, Pointer<
Int> , UnsignedLong, Int)>(FPDF_DOCUMENT, FPDF_DOCUMENT, ffi.Pointer<ffi.Int>, ffi.UnsignedLong, ffi.Int)>()
- 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
@ffi.Native<
FPDF_BOOL Function(
FPDF_DOCUMENT,
FPDF_DOCUMENT,
ffi.Pointer<ffi.Int>,
ffi.UnsignedLong,
ffi.Int,
)
>()
external int FPDF_ImportPagesByIndex(
FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc,
ffi.Pointer<ffi.Int> page_indices,
int length,
int index,
);