We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

ArgumentOutOfRangeException in word document to Xps convertion

Hi,

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

Stream length must be non-negative and less than 2^31 - 1 - origin.
Parameter name: offset

System.ArgumentOutOfRangeException was unhandled
Message=Stream length must be non-negative and less than 2^31 - 1 - origin.
Parameter name: offset

And the sample code is:

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

Regards,
Thanks,

Hi

Thanks for your inquiry. Could you please attach your input document here for testing? I will check the problems on my side and provide you more information.

Best regards,

Hi,

this is the example file,

Regards,

Thanks,

Hello

Thank you for reporting this problem to us and for the additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

Best regards,

The issues you have found earlier (filed as WORDSNET-5481) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.