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


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > InsertBeforeOrAfter Class > InsertParagraphBeforeSelf Method : InsertParagraphBeforeSelf(String,Boolean,Formatting) Method
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 before the current object, using the provided text and formatting, and optionally track this change.
Syntax
'Declaration
 
Public Overloads Overridable Function InsertParagraphBeforeSelf( _

   ByVal text As String, _

   ByVal trackChanges As Boolean, _

   ByVal formatting As Formatting _

) As Paragraph
'Usage
 
Dim instance As InsertBeforeOrAfter

Dim text As String

Dim trackChanges As Boolean

Dim formatting As Formatting

Dim value As Paragraph

 

value = instance.InsertParagraphBeforeSelf(text, trackChanges, formatting)
public virtual Paragraph InsertParagraphBeforeSelf( 

   string text,

   bool trackChanges,

   Formatting formatting

)

Parameters

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.

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