Dear Richard,
Call the function called "FPDF_ImportPages (http://tickets.foxitsoftware.com/sup...bb78119a64d462)"
Details can be found here http://tickets.foxitsoftware.com/support/usermanuals/DLL311/group___f_p_d_f_p_p_o.html
Sincerely,
Huy
Announcement
Collapse
No announcement yet.
How to insert existing pages into a new Document
Collapse
X
-
How to insert existing pages into a new Document
Given a PDF with many pages, I would like to split it up. e.g. Given a 10 page PDF, I would create two smaller PDFs, one with pages 1-5 and one with pages 6-10.
I can create the output PDFs with:
pPDFDoc = FPDF_CreateNewDocument()
and I can insert new pages with:
FPDFPage_New(pPDFDoc,0,500,600);
but what about inserting existing pages obtained with
FPDF_LoadPage
from the original PDF.
Thanks!
Richard
Tags: None
Leave a comment: