Free Support Forum - aspose.com

Problem while saving PDF as Stream

Hi.

I am using the following code to convert pdf into memory stream but it gives Compress Error.

MemoryStream ms = new MemoryStream();

Aspose.Pdf.Pdf objPdf = new Aspose.Pdf.Pdf();

objPdf.BindXML(xmlDoc, null);

objPdf.Save(ms); "Here it gives compress error "

Please help ASAP.

Thanks

Please provide the whole codes segment which could reproduce the error.