openxml - How to detect and change type of viewing in docx using c# -


i have got problem detect , set type of viewing in .docx document using library openxml , c#.

wordprocessingdocument.extendedfilepropertiespart.properties.pages.innertext 

above method give me correct result 8 pages, when .docx file has set viewing:

print layout

if document has

web layout

then show me 3 pages.

i want change view pages print layout , correct number of pages. how using openxml , c# in visual studio 2017?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -