Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

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

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

Example
Code Block
csharp
csharp
titleC#

          int numPages = oDocument.NumPagesOnLastOpen;
        
Code Block
vb.net
vb.net
titlevb.net

          Dim numPages As Integer = oDocument.NumPagesOnLastOpen