Class RTFCommentArray
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class RTFCommentArray : CommonObject, IDisposable, IRichTextString, IParentApplication, IOptimizedUpdate
Constructors
RTFCommentArray(IApplication, Object)
Declaration
public RTFCommentArray(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| System.Object | parent |
Properties
IsFormatted
Indicates whether rich text string has formatting runs. Read-only.
Declaration
public bool IsFormatted { get; }
Property Value
| Type |
|---|
| System.Boolean |
RtfText
Declaration
public string RtfText { get; set; }
Property Value
| Type |
|---|
| System.String |
Text
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
Append(String, IFont)
Appends rich text string with specified text and font.
Declaration
public void Append(string text, IFont font)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | Text to append. |
| IFont | font | Font to use. |
BeginUpdate()
Declaration
public void BeginUpdate()
Clear()
Clears text and formatting.
Declaration
public void Clear()
ClearFormatting()
Clears formatting.
Declaration
public void ClearFormatting()
EndUpdate()
Declaration
public void EndUpdate()
GetFont(Int32)
Returns font for character at specified position.
Declaration
public IFont GetFont(int iPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | iPosition | Position of the symbol. |
Returns
| Type | Description |
|---|---|
| IFont | Font for character at specified position if it is equal for all cells in the parent range, otherwise NULL is returned. |
SetFont(Int32, Int32, IFont)
Sets font for specified range of characters.
Declaration
public void SetFont(int iStartPos, int iEndPos, IFont font)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | iStartPos | First character to set font. |
| System.Int32 | iEndPos | Last character to set. |
| IFont | font | Font to set. |
Implements
System.IDisposable