Hi,
Hi Suresh,
Sorry for the inconvenience faced.
While using the latest version of Aspose.Pdf for NET 8.2.0, I’ve managed to reproduce
this issue on my side and logged the issue in our bug tracking system as PDFNEWNET-35573
for further investigation and resolution. I’ve also linked your request to
this issue and you will be notified via this thread as soon as it is resolved.<o:p></o:p>
Please feel free to contact us for
any further assistance. <o:p></o:p>
Best Regards, <o:p></o:p>
Hi, Is there any update to this issue? Please let me know.
Hi Suresh,
Hi Suresh,
string inPdf1 = “c:/pdftest/3—Offer_shows-zigzags.pdf”;<o:p></o:p>
string inPdf2 = "c:/pdftest/GivesBlankImage.pdf";
string inPdf3 = "c:/pdftest/GivesBlankImageOutput_page1.png";
Document pdf = new Document();
pdf.Collection = new Collection();
pdf.Collection.Add(new FileSpecification(inPdf1, "Attachment File 1"));
pdf.Collection.Add(new FileSpecification(inPdf2, "Attachment File 2"));
pdf.Collection.Add(new FileSpecification(inPdf3, "Attachment File 3"));
pdf.Collection.Add(new FileSpecification(inPdf3, "bla1"));
pdf.Collection.Add(new FileSpecification(inPdf3, "bla2"));
pdf.Collection.Add(new FileSpecification(inPdf3, "bla3"));
foreach (FileSpecification fs in pdf.Collection)
// { Debug.Writeln(fs.Description); }
pdf.Save("c:/pdftest/CorrectPortFolio.pdf");
Please note that with above code snippet, you will see attachments in right order, but if you try to see this attachments via adobe acrobat order will be changed because Acrobat uses default sort by name.
Hi Nayyer,
The issues you have reported earlier (filed as PDFNEWNET-35573) have been fixed in Aspose.Pdf for .NET 8.4.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.