Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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



{remarks}
{example}{code:csharp|title=C#}

          int numPages = oDocument.NumPagesOnLastOpen;
        
{code}
{code:vb.net
|title=vb.net
}

          Dim numPages As Integer = oDocument.NumPagesOnLastOpen
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns an {{int}} representing the number of pages this document had when it was last opened in Word.{excerpt}
{signature:C#}
 public int NumPagesOnLastOpen{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property NumPagesOnLastOpen() As Integer
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Properties > Statistics tab > Statistics listbox > Pages:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle