The attached file will disappear.

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  Re: The attached file will disappear.

DynamicPDF CoreSuite for .NET (v10) Forum

 Oct 08 2018 1:22 AM
Please check the sample below.

FileStream fs = new FileStream("C:\\PDF Transcript\\Test Ascii.pdf", FileMode.Open, FileAccess.Read, FileShare.Read);
byte[] pdfData = new byte[fs.Length];
fs.Read(pdfData, 0, pdfData.Length);
fs.Close();

// In this process, there is an attachment.
PdfDocument pdfDocument = new PdfDocument(pdfData);
// In this process, attachment was disappeared.
MergeDocument mergeDocument = new MergeDocument(pdfDocument, MergeOptions.All);

mergeDocument.Draw("C:\\PDF Transcript\\Test.pdf");

What is the problem?
Posted by a ceTe Software moderator
Hello,

Can you please send over the following details to support@dynamicpdf.com so we can look into it further?

1.Source/Input PDF using which you are seeing this behaviour.
2.Exact version and build number of the DynamicPDF DLL file used in the application. You can get this information by right clicking on the DynamicPDF DLL file>> properties>>Details tab>>Product versions or take a screenshot of Details tab and send it over to us.
3.Output PDF.
4.Link of the forum thread where in you reported the issue.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 4:39 AM.