Hi.
We are using Aspose PDF.
We want to Extract PDF to XML file.
We are working with cloud services where we cannot rely on FileIO, and therefore are using Memorystream instead.
However when we try to save to a memorystream with SaveFormat.MobiXML we get the following Error.
System.ArgumentException: ‘Save a document to a xml stream is not supported. Please save to a file instead.’
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(“Aspose.Total.lic”);
Aspose.Pdf.Document doc = new
Aspose.Pdf.Document(@"C:\temp\wordpopulator\extractme.pdf");
using (System.IO.MemoryStream memStream = new System.IO.MemoryStream())
{
doc.Save(memStream, Aspose.Pdf.SaveFormat.MobiXml);
}
@optimate
Would you kindly share a sample PDF with us so that we can test the scenario in our environment and address it accordingly.
OTD SalesConfirm.pdf (965.6 KB)
I have added an example PDF
@optimate
A ticket as PDFNET-40450 has been logged in our issue tracking system for the sake of implementation of this feature. We have linked it with this forum thread so that you will receive notification once it is implemented. Please be patient and spare us little time.
We are sorry for the inconvenience.
Hi.
Do you have any ETA on this feature, we need this urgent for a solution delivered to a Customer.
The issue for them is critically.
@optimate
We regretfully share that we cannot share any reliable ETA at the moment due to other pending issues which are high priority. Since the issue is logged under free support model, it has low priority and will be resolved on first come first serve policy. Nevertheless, we have recorded your concerns and will surely consider them during investigation. Please spare us some time.
We are sorry for the inconvenience.
Hi.
We do have paid support, can you move the request to paid support, or do i need to recreate the issue there ?
@optimate
If you have paid support subscription, you may please create a post there with the reference of the ticket. The ticket would be escalated to priority support accordingly.
The issues you have found earlier (filed as PDFNET-40450) have been fixed in Aspose.PDF for .NET 22.5.