1.copy the whole thing(with images and lines) from first pdf and create second pdf using hiqpdf.
2.In first pdf it has 1 page view but the second pdf should have 2 page view.
3.So consider a example pdf contain 8 pages (it have sections A,B,C,D)
so copy A section from first pdf and hardcode the answer for A section and include it in second pdf like booklet view two page view
first page divided half it conatins section A question
Next Page Section A answers in two way view page
Marvin ReidPosted Jan 23, 2023, 9:33 PM
You can use the PDFFile class to combine the PDF pages and edit the look of the page. Here is some code you can build on:
https://www.leadtools.com/help/sdk/v22/dh/pdf/pdffile-extractpages.html
https://www.leadtools.com/help/sdk/v22/tutorials/dotnet-winforms-merge-pdf-files-to-single-pdf-file.html
kavya mPosted Jan 23, 2023, 6:48 AM
Using HIQPDF how to use graphics to create booklet view pdf from existing pdf ?
Below code is not working
PdfGraphics g = newPage.Graphics;
g.Save();
g.TranslateTransform(pageSize.Width / 2, 0);
g.ScaleTransform(0.5f, 1); g.RotateTransform(90);
g.DrawImage(secondPage.CreateFormXObject(secondPageRect), secondPageRect);
g.Restore();
Lokesh VarmanPosted Jan 20, 2023, 1:43 PM