Xceed Words for .NET v3.0 Documentation
InsertParagraphBeforeSelf(String,Boolean) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > InsertBeforeOrAfter Class > InsertParagraphBeforeSelf Method : InsertParagraphBeforeSelf(String,Boolean) Method
The text for the new Paragraph.
true if this change should be tracked, otherwise false.
Inserts a Paragraph before the current object, using the provided text, and optionally track this change.
Syntax
'Declaration
 
Public Overloads Overridable Function InsertParagraphBeforeSelf( _
   ByVal text As String, _
   ByVal trackChanges As Boolean _
) As Paragraph
'Usage
 
Dim instance As InsertBeforeOrAfter
Dim text As String
Dim trackChanges As Boolean
Dim value As Paragraph
 
value = instance.InsertParagraphBeforeSelf(text, trackChanges)
public virtual Paragraph InsertParagraphBeforeSelf( 
   string text,
   bool trackChanges
)

Parameters

text
The text for the new Paragraph.
trackChanges
true if this change should be tracked, otherwise false.

Return Value

The new Paragraph that was inserted.
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

InsertBeforeOrAfter Class
InsertBeforeOrAfter Members
Overload List