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);
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.
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,