Skip to main content
A newer version of this page is available.
All docs
V19.1
.NET Framework 4.5.2+

SubDocument.InsertParagraph(DocumentPosition, InsertOptions) Method

OBSOLETE

This method has become obsolete. Use the 'Insert' method instead.

Inserts a new paragraph into the document at a specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ParagraphCollection.Insert(DocumentPosition pos, InsertOptions insertOptions)' method instead.")]
Paragraph InsertParagraph(
    DocumentPosition pos,
    InsertOptions insertOptions
)

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition object that specifies a position to insert a new paragraph.

insertOptions InsertOptions

An InsertOptions enumeration value, specifying how destination formatting is applied to inserted content.

Returns

Type Description
Paragraph

A Paragraph object representing the newly inserted paragraph.

See Also