I have kept the ZoomPercent value 100% from my code and when I open the document in Office 2010 its works fine, but the same document show a different zooming view when I open the document in Microsoft Office 2013, in my case its shows 157% zoom.
Hi Richard,
Thanks for your inquiry. Perhaps, you are using an older version of Aspose.Words; as with
Aspose.Words v13.8.0, I am unable to reproduce this problem on my side. I would suggest you please upgrade to the latest version of
Aspose.Words i.e. v13.8.0 and let us know how it goes on your side. I hope, this will help.
If the problem still remains, please attach your input/output Word document here along with code for testing. I will investigate the issue on my side and provide you more information.
Hi Richard,
Thanks for your inquiry. Well, if you try creating a document using Microsoft Word 2013 with zoom level 50%, save it and create another document with zoom level 70% and then open previous document, you will see zoom level equals 70% instead of 50%. This is because Microsoft Word 2013 does not write any zoom factor to a document and no longer reads this value from existing documents and set this as a the default zoom, instead it appears to use the zoom factor of the last document that was opened. Although Aspose.Words is able to read and write ViewOptions.ZoomPercent option, its usage is application-specific. For example Microsoft Word 2013 does not respect the value of this option. So, this appears to be an expected behaviour. If we can help you with anything else, please feel free to ask.
Best regards,