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 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