3

how can i get the page number in ms word using Namespace

microsoft.office.interop.word in C#.

please help me.......

Raj
  • 487
  • 3
  • 11
  • 24

1 Answers1

3

You can do this using the Document.ComputeStatistics method: http://msdn.microsoft.com/en-us/library/microsoft.office.tools.word.document.computestatistics.aspx

For details, please refer to my previous answer on a similar question here: https://stackoverflow.com/a/12339712/700926

Community
  • 1
  • 1
Lasse Christiansen
  • 10,205
  • 7
  • 50
  • 79