Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / RemoveText Method / RemoveText(Int32,Int32,Boolean,Boolean) Method
The index at which to begin deleting characters.
The amount of characters to delete.
true if this change should be tracked, otherwise false.
true if the paragraph should be removed if it is empty, otherwise false.


    RemoveText(Int32,Int32,Boolean,Boolean) Method
    Removes characters from this Paragraph.
    Syntax
    'Declaration
     
    Public Overloads Sub RemoveText( _
       ByVal index As Integer, _
       ByVal count As Integer, _
       Optional ByVal trackChanges As Boolean, _
       Optional ByVal removeEmptyParagraph As Boolean _
    ) 
     
    'Usage
     
    Dim instance As Paragraph
    Dim index As Integer
    Dim count As Integer
    Dim trackChanges As Boolean
    Dim removeEmptyParagraph As Boolean
     
    instance.RemoveText(index, count, trackChanges, removeEmptyParagraph)

    Parameters

    index
    The index at which to begin deleting characters.
    count
    The amount of characters to delete.
    trackChanges
    true if this change should be tracked, otherwise false.
    removeEmptyParagraph
    true if the paragraph should be removed if it is empty, otherwise false.
    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