Paragraphs Interface 

A collection of Paragraph objects in a selection, range, or document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class aragraphsImplementation
    Implements Paragraphs
End Class
Dim aragraphsImplementation1 As New aragraphsImplementation()

Syntax

Public Interface Paragraphs
    Inherits IEnumerable
public interface Paragraphs : IEnumerable
public interface class Paragraphs : public IEnumerable
public interface Paragraphs implements IEnumerable
public interface Paragraphs implements IEnumerable

Remarks

Use the Paragraphs property to return the Paragraphs collection.

Use the Add, InsertParagraph, InsertParagraphAfter, or InsertParagraphBefore method to add a new paragraph to a document.

Use Paragraphs(index), where index is the index number, to return a single Paragraph object.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

Paragraphs Members