Xceed Words for .NET v3.0 Documentation
ReplaceTextWithHTML Method (Document)


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class : ReplaceTextWithHTML Method

The options that will be used when replacing the string with HTML content.

Replaces all instances of a string with HTML content.

Syntax
'Declaration
 
Public Overrides Function ReplaceTextWithHTML( _

   ByVal replaceTextOptions As HtmlReplaceTextOptions _

) As Boolean
'Usage
 
Dim instance As Document

Dim replaceTextOptions As HtmlReplaceTextOptions

Dim value As Boolean

 

value = instance.ReplaceTextWithHTML(replaceTextOptions)
public override bool ReplaceTextWithHTML( 

   HtmlReplaceTextOptions replaceTextOptions

)

Parameters

replaceTextOptions

The options that will be used when replacing the string with HTML content.

Return Value

Returns true if at least one text replacement was done.
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

Document Class
Document Members
Base Implementation in ReplaceTextWithHTML