Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Container Class / ReplaceTextWithHTML Method
The options that will be used when replacing the string with HTML content.


In This Topic
    ReplaceTextWithHTML Method (Container)
    In This Topic
    Replaces all instances of a string with HTML content.
    Syntax
    'Declaration
     
    Public Overridable Function ReplaceTextWithHTML( _
       ByVal replaceTextOptions As HtmlReplaceTextOptions _
    ) As Boolean
    'Usage
     
    Dim instance As Container
    Dim replaceTextOptions As HtmlReplaceTextOptions
    Dim value As Boolean
     
    value = instance.ReplaceTextWithHTML(replaceTextOptions)
    public virtual 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