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 paragraphs in this document.



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

          int numParagraphs = oDocument.NumParagraphs;
        
{code}
{code:vb.net
|title=vb.net
}

          Dim numParagraphs As Integer = oDocument.NumParagraphs
        {code}

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