Back to Devexpress

SubDocument.Replace(DocumentRange, String) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-subdocument-dot-replace-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentrange-system-dot-string-x29.md

latest1.6 KB
Original Source

SubDocument.Replace(DocumentRange, String) Method

Replaces the specified document range with the specified text string.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void Replace(
    DocumentRange range,
    string text
)
vb
Sub Replace(
    range As DocumentRange,
    text As String
)

Parameters

NameTypeDescription
rangeDocumentRange

A DocumentRange object representing the range to replace.

| | text | String |

A string that is inserted in place of the specified range.

|

See Also

SubDocument Interface

SubDocument Members

DevExpress.XtraRichEdit.API.Native Namespace