Export (0) Print
Expand All

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

public interface Paragraphs : IEnumerable
public interface Paragraphs implements IEnumerable
public interface Paragraphs implements IEnumerable

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.


Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft