Image Width is too large from Word doc

Created a word doc from Aspose.Word, used the following code to convert to pdf and get the above error…

//Save the document in Aspose.Pdf.Xml format.

m_worddoc.Save(mstream, W.SaveFormat.FormatAsposePdf);

mstream.Seek(0, SeekOrigin.Begin);

System.Xml.XmlDocument xmldoc = new System.Xml.XmlDocument();

xmldoc.Load(mstream);

//Read the document in Aspose.Pdf.Xml format into Aspose.Pdf.

P.Pdf pdf = new P.Pdf();

pdf.BindXML(xmldoc, null);

//Instruct to delete temporary image files.

pdf.IsImagesInXmlDeleteNeeded = true;

//Produce the PDF file.

pdf.Save(“Report_” + rptID.ToString() + “.pdf”, P.SaveType.OpenInBrowser, context.Response);


help?

Dear Ammo,

Thank you for considering Aspose.

I have removed this exception to keep compatible with Aspose.Word. Please download hot fix here.