편집

다음을 통해 공유


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.

public Microsoft.Office.Interop.Word.Paragraph Add (ref object Range);
abstract member Add : obj -> Microsoft.Office.Interop.Word.Paragraph
Public Function Add (Optional ByRef Range As Object) As Paragraph

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