Doc to XPS convertion Exception Unexpected tab stop alignment value

Hi,

I'm having an issue with the convertion for word document to xps the exception message is:

Exception: System.InvalidOperationException: Unexpected tab stop alignment value.
at x4adf554d20d941a6.xf6207a235a46d7fd.x6d71d88c13c53a1b(x56410a8dd70087c5 x5906905c888d3d98, Int32 x6475f0bcaa202a8f)
at x4adf554d20d941a6.x6d3ade29d016f4ea.xb6f0009381fac02f()
at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651)

And the sample code is:

Document doc = new Document(filepath);
doc.Save("temp.xps", SaveFormat.Xps);

Regards,
Thanks,

Hi Gerardo,


Thanks for your inquiry.

Could you please attach your documents here for testing?

Thanks,

Hi,

The example file here

Regards,

Hi Gerardo,


Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 10.6.0 and your input document, I was unable to reproduce this issue on my side. However, I would suggest you to please visit the following link for downloading and using the latest version of Aspose.Words:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/default.aspx

I hope, this will help.

Best Regards,

Hi,

Thank you very much for you quik response, the last version works fine.

Regards,

Thanks,