We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Formatting is destroyed during merge of PDF documents

Hi,

I'm using Syncfusion PDF to display some reports merged to one document, using the following code:
            PdfDocument combi = PdfDocumentBase.Merge(fileNames.ToArray());
            fileNames.Add(path + Guid.NewGuid().ToString() + ".pdf");
            combi.Save(fileNames[fileNames.Count-1]);
            combi.Close();
fileNames is a List<string>, which comtains the paths to one or more PDF documents, which is written to the filesystem.    

Now, my problem is that I have a new PDF report type, where formatting (like bold text and special characters) is destroyed during merge, and I don't know how to fix this. I have checked that the original PDF document is good.


Please help me how to fix this problem.

BR
Henning 


2 Replies

HE Henning February 18, 2013 12:01 PM UTC

Hi,
 
I have attached an example to demonstrate the nature of the problem.
 
 
BR
Henning


FinanceOfferExamples_e698b26c.zip


GM Geetha M Syncfusion Team February 22, 2013 04:01 AM UTC

Hi Henning,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the problem with merge. A simple sample created using your code snippet is placed in the link below and it preserved the formatting as it is. Could you please run this sample and let me know if you still reproduce the problem? Also, please let us know the Essential Studio version you are using.

Regards
Geetha


Merge_TextFormatting_85250fa3.zip

Loader.
Live Chat Icon For mobile
Up arrow icon