RTFStringArray Class
Inheritance
System.Object
RTFStringArray
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class RTFStringArray : IRTFWrapper, IDisposable, IRichTextString, IParentApplication, IOptimizedUpdate
Constructors
RTFStringArray(IRange)
Creates new instance of the RTFStringArray.
Declaration
public RTFStringArray(IRange range)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Parent range. |
Properties
Application
Application object for this object.
Declaration
public IApplication Application { get; }
Property Value
Type |
---|
IApplication |
IsFormatted
Indicates whether rich text string has formatting runs. Read-only.
Declaration
public bool IsFormatted { get; }
Property Value
Type |
---|
System.Boolean |
Parent
Parent object for this object.
Declaration
public object Parent { get; }
Property Value
Type |
---|
System.Object |
RtfText
Returns text in rtf format. Read-only.
Declaration
public string RtfText { get; set; }
Property Value
Type |
---|
System.String |
Text
Gets / sets text of the string.
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()
Declaration
public void Clear()
ClearFormatting()
Clears string formatting.
Declaration
public void ClearFormatting()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
EndUpdate()
Declaration
public void EndUpdate()
GetFont(Int32)
Returns font which is applied to character at the specified position.
Declaration
public IFont GetFont(int iPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iPosition | Character index. |
Returns
Type | Description |
---|---|
IFont | Font which is applied to character at the specified position. |
SetFont(Int32, Int32, IFont)
Sets font for range of characters.
Declaration
public void SetFont(int iStartPos, int iEndPos, IFont font)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iStartPos | First character of the range. |
System.Int32 | iEndPos | Last character of the range. |
IFont | font | Font to set. |
Implements
System.IDisposable