SubDocument.InsertParagraph(DocumentPosition, InsertOptions) Method
Obsolete. Inserts a new paragraph into the document at a specified position.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.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
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ParagraphCollection.Insert(DocumentPosition pos, InsertOptions insertOptions)' method instead.")>
Function InsertParagraph(
pos As DocumentPosition,
insertOptions As InsertOptions
) As Paragraph
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