Free Support Forum - aspose.com

How i can save page not bind to Document

Hi,


When i was using Generator approach i used to create a separate list where i use to save the pages i have created. After creating multiple pages i usually clears the pdf and then again add the pages from my own list. Following is the code snippet.

// Compose sections into single document
Document.Sections.Clear();

foreach (var section in Pages.Values.SelectMany(sectionList => sectionList))
{
Document.Pages.Add(section);
}
Document.Save(memoryStream);

// Where Pages is Dictionary<int, List> Pages;

How i can achieve same in DOM approach.

As there is no clear for PageCollection and if I delete then content is also deleted.

Regards,
Sandeep

Hi Sandeep,


Thanks for your inquiry. We have logged a ticket PDFNEWNET-38613 in our issue tracking system for investigation and resolution. We will keep you updated about the resolution progress.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-38613) have been fixed in Aspose.Pdf for .NET 10.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.