Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Container Class / InsertParagraph Method / InsertParagraph(Int32,String,Boolean) Method
The index of the Paragraph where the new Paragraph is to be inserted.
The text for the new Paragraph.
true if this change should be tracked, otherwise false.


In This Topic
    InsertParagraph(Int32,String,Boolean) Method
    In This Topic
    Inserts a Paragraph at a specific location in this Container, using the provided text, and optionally track this change.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function InsertParagraph( _
       ByVal index As Integer, _
       ByVal text As String, _
       ByVal trackChanges As Boolean _
    ) As Paragraph
    'Usage
     
    Dim instance As Container
    Dim index As Integer
    Dim text As String
    Dim trackChanges As Boolean
    Dim value As Paragraph
     
    value = instance.InsertParagraph(index, text, trackChanges)
    public virtual Paragraph InsertParagraph( 
       int index,
       string text,
       bool trackChanges
    )

    Parameters

    index
    The index of the Paragraph where the new Paragraph is to be inserted.
    text
    The text for the new Paragraph.
    trackChanges
    true if this change should be tracked, 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