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,
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.