Skip to main content

ParagraphCollection Members

An interface that defines a collection of Paragraph objects.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
AddParagraphsToList(DocumentRange, NumberingList, Int32) Apply the numbering list format specified by the NumberingList object to the paragraphs in the specified range.
AddParagraphToList(Paragraph, NumberingList, Int32) Apply the numbering list format specified by the NumberingList object to the specified paragraph.
AddParagraphToList(Paragraph, Int32, Int32) Apply the numbering list format specified by the NumberingList object to the specified paragraph.
Append() Appends a new Paragraph to the document.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Get(DocumentPosition) Gets a paragraph which contains the specified position. Inherited from ReadOnlyParagraphCollection.
Get(DocumentRange) Gets all paragraphs located in the specified document range. Inherited from ReadOnlyParagraphCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Insert(DocumentPosition, InsertOptions) Inserts a new paragraph into the document at a specified position using the specified options.
Insert(DocumentPosition) Inserts a new Paragraph at a specified position.
RemoveNumberingFromParagraph(Paragraph) Removes the numbering or bullet from the specified paragraph.
RemoveNumberingFromParagraphs(DocumentRange) Remove the numbering or bullet from all paragraphs intersecting the specified range.
See Also