The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Does anyone know how I can merge two pages into one? If one document has my letterhead and another document has the text, how can I create a single PDF document with both the letterhead and text on the same page?
BPBhuvaneswari P Syncfusion Team June 12, 2009 08:59 AM UTC
Hi Thomas,
Thank you for your interest in Syncfusion products.
Yes, it can be possible by using the PDF template and over lay the documents one another. Please find the below code snippet to do so: / PdfLoadedDocument ldDoc1 = new PdfLoadedDocument("letterhead.pdf"); PdfLoadedDocument ldDoc2 = new PdfLoadedDocument("text.pdf"); PdfDocument doc = new PdfDocument();
for (int i = 0, count = ldDoc2.Pages.Count; i < count; ++i) { PdfPage page = doc.Pages.Add(); PdfGraphics g = page.Graphics;
Also, please refer the Over lay sample from the below browser sample: \\My Documents\Syncfusion\EssentialStudio\x.x.x.x\Windows\Pdf.Windows\Samples\2.0\Modify Documents\Overlay Documents