I have a bunch of PDF fragment files (not full pages) that I need to insert into a table that I have in a Document.Page.
How can I do this?
I tried this, but it appends a new page and I can’t control the spacing between fragments or add a header or anything.
List docs = new List();
foreach (var file in filenames)
{
var path = Path.Combine(AssetsPath, "infoCards", file);
if (File.Exists(path)){
docs.Add(new Document(path));
}
}
PdfFileEditor editor = new PdfFileEditor();
editor.Concatenate(docs.ToArray(), Doc);
Yes you are correct. In order to stamp pages of existing PDF document, you need to use PdfPageStamp instance. Please continue using our API and in the event of any further query, please feel free to contact.