Xceed Words for .NET v5.0 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. 
    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