Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Merge PDF Fragments into Table Cells

$
0
0
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);

Viewing all articles
Browse latest Browse all 3131

Trending Articles