Xceed Words for .NET v3.0 Documentation
InsertParagraph(Int32,String,Boolean,Formatting) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Header Class > InsertParagraph Method : InsertParagraph(Int32,String,Boolean,Formatting) 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.
The format to apply to the new Paragraph.
Inserts a Paragraph at a specific location in this Header, using the provided text and formatting, and optionally track this change.
Syntax
'Declaration
 
Public Overloads Overrides Function InsertParagraph( _

   ByVal index As Integer, _

   ByVal text As String, _

   ByVal trackChanges As Boolean, _

   ByVal formatting As Formatting _

) As Paragraph
'Usage
 
Dim instance As Header

Dim index As Integer

Dim text As String

Dim trackChanges As Boolean

Dim formatting As Formatting

Dim value As Paragraph

 

value = instance.InsertParagraph(index, text, trackChanges, formatting)
public override Paragraph InsertParagraph( 

   int index,

   string text,

   bool trackChanges,

   Formatting formatting

)

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.
formatting
The format to apply to the new Paragraph.
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

Reference

Header Class
Header Members
Overload List
Base Implementation in InsertParagraph(Int32,String,Boolean,Formatting)