Interface IParagraph
Interface publishes paragraph functionality
Assembly: Syncfusion.DLS.Base.dll
Syntax
public interface IParagraph : IEntityBase, IStyleHolder
Properties
Declaration
CharacterFormat CharacterFormat { get; }
Property Value
Item[Int32]
Declaration
IParagraphItem this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
ItemsCount
Declaration
Property Value
Gets list formatting for the paragraph.
Declaration
ListFormat ListFormat { get; }
Property Value
Declaration
ParagraphFormat ParagraphFormat { get; }
Property Value
Text
Gets / sets paragraph text.
Declaration
string Text { get; set; }
Property Value
Methods
AppendBookmarkEnd(String)
Appends end of the bookmark with specified name into paragraph.
Declaration
BookmarkEnd AppendBookmarkEnd(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
AppendBookmarkStart(String)
Appends start of the bookmark with specified name into paragraph.
Declaration
BookmarkStart AppendBookmarkStart(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
AppendCanvas(SizeF)
Appends canvas to end of paragraph.
Declaration
ICanvas AppendCanvas(SizeF size)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
size |
Size of the canvas.
|
Returns
AppendField(DLSFieldType)
Append field to end of the paragraph.
Declaration
IField AppendField(DLSFieldType type)
Parameters
Returns
AppendPicture(Image)
Appends picture to end of paragraph.
Declaration
IPicture AppendPicture(Image image)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
Returns
AppendTable()
Appends table to end of paragraph.
Declaration
Returns
AppendText(String)
Appends text to end of paragraph.
Declaration
ITextRange AppendText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
AppendTextBox(Single, Single)
Append Textbox to the end of the paragraph
Declaration
ITextBox AppendTextBox(float width, float height)
Parameters
Type |
Name |
Description |
System.Single |
width |
Textbox width
|
System.Single |
height |
Textbox height
|
Returns
Clone(IDocument)
Clones itself and sets new owner document.
Declaration
IParagraph Clone(IDocument doc)
Parameters
Returns
GetStyle()
Declaration
IParagraphStyle GetStyle()
Returns
IndexOfItem(IParagraphItem)
Gets index of specified paragraph item.
Declaration
int IndexOfItem(IParagraphItem item)
Parameters
Returns
InsertItem(Int32, IParagraphItem)
Inserts paragraph item to specified position.
Declaration
void InsertItem(int index, IParagraphItem pItem)
Parameters
RemoveItem(IParagraphItem)
Removes specified paragraph item.
Declaration
void RemoveItem(IParagraphItem item)
Parameters
RemoveItemAt(Int32)
Removes paragraph item at specified position.
Declaration
void RemoveItemAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Replaces all entries of given string with TextRangesHolder, taking into
consideration caseSensitive and wholeWord options.
Declaration
void Replace(string given, TextRangesHolder rangesHolder, bool caseSensitive, bool wholeWord)
Parameters
Type |
Name |
Description |
System.String |
given |
|
TextRangesHolder |
rangesHolder |
|
System.Boolean |
caseSensitive |
|
System.Boolean |
wholeWord |
|
Replace(String, String, Boolean, Boolean)
Replaces all entries of given string with replace string, taking into
consideration caseSensitive and wholeWord options.
Declaration
int Replace(string given, string replace, bool caseSensitive, bool wholeWord)
Parameters
Type |
Name |
Description |
System.String |
given |
|
System.String |
replace |
|
System.Boolean |
caseSensitive |
|
System.Boolean |
wholeWord |
|
Returns
Replaces all entries of given regular expression with TextRangesHolder.
Declaration
void Replace(Regex pattern, TextRangesHolder rangesHolder)
Parameters
Type |
Name |
Description |
System.Text.RegularExpressions.Regex |
pattern |
|
TextRangesHolder |
rangesHolder |
|
Replace(Regex, String)
Replaces all entries of given regular expression with replace string.
Declaration
int Replace(Regex pattern, string replace)
Parameters
Type |
Name |
Description |
System.Text.RegularExpressions.Regex |
pattern |
|
System.String |
replace |
|
Returns