Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns an int representing the number of words in this document.

Signature
C#
C#
  public int NumWords{ get; }
Signature
vb.net
vb.net

Public ReadOnly Property NumWords() As Integer
Remarks

...

 MS Word equivalent: File menu > Properties > Statistics tab > Statistics listbox > Words:
Remarks
Example
Code Block
csharp
csharp
titleC#
          
int numWords = oDocument.NumWords;
        
Code Block
vb.net
vb.net
titlevb.net
          
Dim numWords As Integer = oDocument.NumWords
        
Example