merging pdf files

i am trying to mergr two pdf files and i have encountering following issues

1. If i use PDFDocument.Merge(paths); the code complied and runs but the file are not merge the documents

2. if i use PDFDocument.Merge(destFile,paths); i am getting complilation error stating "Cannot implicitly convert type 'void' to syncfusion.Pdf.PDFDocument"

private void MergePdf()
{
string[] paths = {"c:\\Test1.pdf","c:\\Test2.pdf" };
string destFile = "c:\\Test3.pdf";

PDFDocument doc = PDFDocument.Merge(destFile,paths);

}

please advive thank you.

-Naresh.

1 Reply

NM Naresh Macha August 11, 2009 09:11 PM UTC

Please ignore i got it working...

Loader.
Up arrow icon