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

    Replaces all occurrences of the specified text with new text in slide shapes, tables and notes.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

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

    Parameters

    Name Type Description
    oldText String

    The text to replace.

    newText String

    The new text to replace the old text.

    Optional Parameters

    Name Type Default Description
    options TextSearchOptions null

    Contains text search options.

    Remarks

    For more information, refer to the following help topic: DevExpress Presentation API: Search, Replace, Remove, and Highlight Text in a Slide or Presentation.

    See Also