Skip to end of metadata
Go to start of metadata

Description

Returns an int representing the number of pages this document had when it was last opened in Word.

C#
 public int NumPagesOnLastOpen{ get; }
vb.net
Public ReadOnly Property NumPagesOnLastOpen() As Integer

Remarks

MS Word equivalent: File menu > Properties > Statistics tab > Statistics listbox > Pages:

Examples

C#

          int numPages = oDocument.NumPagesOnLastOpen;
        
vb.net

          Dim numPages As Integer = oDocument.NumPagesOnLastOpen
        
  • No labels