Back to Devexpress

Slide.ReplaceText(String, String, TextSearchOptions) Method

officefileapi-devexpress-dot-docs-dot-presentation-dot-slide-dot-replacetext-x28-system-dot-string-system-dot-string-devexpress-dot-docs-dot-presentation-dot-textsearchoptions-x29.md

latest2.0 KB
Original Source

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

csharp
public void ReplaceText(
    string oldText,
    string newText,
    TextSearchOptions options = null
)
vb
Public Sub ReplaceText(
    oldText As String,
    newText As String,
    options As TextSearchOptions = Nothing
)

Parameters

NameTypeDescription
oldTextString

The text to replace.

| | newText | String |

The new text to replace the old text.

|

Optional Parameters

NameTypeDefaultDescription
optionsTextSearchOptionsnull

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

Slide Class

Slide Members

DevExpress.Docs.Presentation Namespace