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

Free Support Forum - aspose.com

PageSetup PageWidth and height precision


Could you tell me if there is any precision set on PageSetup.PageHeight and PageSetup.PageWidth?

When I assign:
documentBuilder.CurrentSection.PageSetup.PageWidth = 595,2765
I got:
(PageWidth) = 595.3

I am wondering if this is expected due to aspose.



Thanks for your inquiry. Please note that Aspose.Words mimics the behavior of MS Word. If you set same page’s width using MS Word, you will get the same output.