We have an application that reads Word documents and imports them into our file format.
A recent bug was found that the page count is only available in Page Layout View, however Word 2010 defaults to Web Layout.
Using .NET c# how can we change the view to give us back the page count?
I believe the property you are looking for is
Document.ActiveWindow.View.Type = wdPrintView;You can read more in this on MSDN.