Back to Devexpress

Presentation.ReplaceText(IList<TextSearchInfo>, String) Method

officefileapi-devexpress-dot-docs-dot-presentation-dot-presentation-dot-replacetext-x28-system-dot-collections-dot-generic-dot-ilist-devexpress-dot-docs-dot-presentation-dot-textsearchinfo-system-dot-string-x29.md

latest2.0 KB
Original Source

Presentation.ReplaceText(IList<TextSearchInfo>, String) Method

Replaces the specified text ranges with new text throughout the presentation, including shapes, notes, and tables.

Namespace : DevExpress.Docs.Presentation

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

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public void ReplaceText(
    IList<TextSearchInfo> textSearchInfos,
    string newText
)
vb
Public Sub ReplaceText(
    textSearchInfos As IList(Of TextSearchInfo),
    newText As String
)

Parameters

NameTypeDescription
textSearchInfosIList<TextSearchInfo>

Contains information about the text ranges to be replaced.

| | newText | String |

The new text to replace the old text.

|

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

Presentation Class

Presentation Members

DevExpress.Docs.Presentation Namespace