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.2.Core.dll
Declaration
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