Xceed Words for .NET v4.0 Documentation
ReplaceText(MultipleStringReplaceTextOptions) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Container Class > ReplaceText Method : ReplaceText(MultipleStringReplaceTextOptions) Method
The options that will be used when replacing the SearchValues strings with NewValues strings.
Replaces all of the SearchValues strings with NewValues strings, using the options set via the replaceTextOptions parameter to do so.
Syntax
'Declaration
 
Public Overloads Overridable Function ReplaceText( _
   ByVal replaceTextOptions As MultipleStringReplaceTextOptions _
) As Boolean
'Usage
 
Dim instance As Container
Dim replaceTextOptions As MultipleStringReplaceTextOptions
Dim value As Boolean
 
value = instance.ReplaceText(replaceTextOptions)
public virtual bool ReplaceText( 
   MultipleStringReplaceTextOptions replaceTextOptions
)

Parameters

replaceTextOptions
The options that will be used when replacing the SearchValues strings with NewValues strings.

Return Value

Returns true if at least one text replacement is done.
Remarks
Each SearchValue string will be replaced with its corresponding NewValue string, using the established order to create a correspondence between the strings.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Container Class
Container Members
Overload List