Hi
I am using Document’s AppendDocument method to append 1200+ documents in to a single document.
It is taking more than 2 minutes approximately to append these many documents.
Please suggest a better approach to improve the performance.
Following is the code used to append the documents in to single document.
if (lintPageCnt> 0)
{
Document ldocSrcDoc = new Document(@"E:\Temp\TemplateOutPut_0.doc");
for (int i = 1; i <lintPageCnt; i++)
{
Document ldocSrcDoc1 = new Document(@"E:\TemplateOutPut_" + i + ".doc");
ldocSrcDoc.AppendDocument(ldocSrcDoc1, ImportFormatMode.KeepSourceFormatting);
}
ldocSrcDoc.Save(@"E:\TemplateOutPutFinal.doc");
}
Thanks