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

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -