Xceed Words for .NET v5.2 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Container Class / RemoveText Method
A string that represents the removal process' starting point; in other words, the first word that will be removed.
A string that represents the removal process' ending point; in other words, the last word that will be removed.


In This Topic
    RemoveText Method (Container)
    In This Topic
    Removes all the Text between a startingTag and an endingTag, even when those tags are located in different Paragraphs.  
    Syntax
    'Declaration
     
    
    Public Overridable Function RemoveText( _
       ByVal startingTag As String, _
       ByVal endingTag As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As Container
    Dim startingTag As String
    Dim endingTag As String
    Dim value As Boolean
     
    value = instance.RemoveText(startingTag, endingTag)
    public virtual bool RemoveText( 
       string startingTag,
       string endingTag
    )

    Parameters

    startingTag
    A string that represents the removal process' starting point; in other words, the first word that will be removed.
    endingTag
    A string that represents the removal process' ending point; in other words, the last word that will be removed.

    Return Value

    Returns true if the removal process succeeds; returns false otherwise. 
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also