Skip to main content
All docs
V26.1
  • OfficeTextArea.ReplaceText(TextRange, String) Method

    Replaces the specified text range with new text.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public void ReplaceText(
        TextRange range,
        string newText
    )

    Parameters

    Name Type Description
    range TextRange

    The text range to replace.

    newText String

    The new text to replace the old text.

    See Also