Paragraphs.Add(Object) Method

Definition

Returns a Paragraph object. When the caller is not the last paragraph in a document that represents a new, blank paragraph added to a document, otherwise that will be the calling paragraph itself.

C#
public Microsoft.Office.Interop.Word.Paragraph Add (ref object Range);

Parameters

Range
Object

Optional Object. The range before which you want the new paragraph to be added. The new paragraph doesn't replace the range.

Returns

Remarks

If Range isn't specified, the new paragraph is added after the selection or range or at the end of the document.

Applies to

Product Versions
Word primary interop assembly Latest