Click or drag to resize

RichTextObject Class

Represents a rich text object in a spreadsheet.
Inheritance Hierarchy
System Object
Spire.Xls RichTextObject
Spire.Xls RichText

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class RichTextObject : IRichTextString, 
	IExcelApplication, IOptimizedUpdate

The RichTextObject type exposes the following members.

Properties
Name Description
Public property IsFormatted
Indicates whether rich text string contains formatting Read-only.
Public property Parent
Gets the parent object of the RichText control.
Public property RtfText
Gets Rtf Text. Read-Only.
Public property Text
Gets or sets text;
Top
Methods
Name Description
Public method Append
Appends the specified text and font to the rich text.
Public method BeginUpdate
This method should be called before several updates to the object will take place.
Public method Clear
Clears all.
Public method ClearFormatting
Clears formatting.
Public method EndUpdate
This method should be called after several updates to the object took place.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetFont
Returns font for character at specified position.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method SetFont
Sets font for specified range of characters.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also