Skip to main content
All docs
V25.2
  • TextAreaBase.ReplaceText(String, String, TextSearchOptions) Method

    Replaces all occurrences of the specified text with new text. You can also specify search options.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    Declaration

    public void ReplaceText(
        string oldText,
        string newText,
        TextSearchOptions options = null
    )

    Parameters

    Name Type Description
    oldText String

    Text to be replaced.

    newText String

    New text to replace the old text.

    Optional Parameters

    Name Type Default Description
    options TextSearchOptions null

    Search options.

    See Also