Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Use HIQPDF and create two page view(booklet) pdf from one page view pdf.
How to use graphics draw a line in between two pdf screens in single pdf page.
How to loop through half of the pdf page and set first pdf page from old pdf and set second half pdf page for second page from old pdf.
set landscape orientation.

What I have tried:

PdfDocument pdfDoc = new PdfDocument();
            PdfDocument document = PdfDocument.FromFile(inputfile);
 foreach (PdfPage pdfPage in document.Pages)
            {
                float crtPdfPageWidth = pdfPage.Size.Width/2;
                float crtPdfPageHeight = pdfPage.Size.Height;
}
Posted
Updated 23-Jan-23 22:38pm
v2
Comments
Andre Oosthuizen 24-Jan-23 4:41am    
Your current code and your requirements are still miles away from each other. I suggest to read up more on the topic and then do some sample coding. This site might help a lot to achieve your goals - https://help.syncfusion.com/file-formats/pdf/create-pdf-file-in-asp-net-core

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900