Click or drag to resize

RangeRichTextString Class

Represents a rich text string with range-based formatting.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet CommonWrapper
Spire.Xls.Core.Spreadsheet RichTextString
Spire.Xls.Core.Spreadsheet RangeRichTextString

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class RangeRichTextString : RichTextString, 
	IDisposable

The RangeRichTextString type exposes the following members.

Properties
Name Description
Protected property BeginCallsCount
Returns number of begin update calls that have no corresponding end update. Read-only.
(Inherited from CommonWrapper .)
Public property DefaultFont
Gets the default font for the cell at the specified row and column.
Public property Index
Gets the index of the string in the shared string table.
Public property IsFormatted
Indicates whether rich text string has formatting runs. Read-only.
(Inherited from RichTextString .)
Public property Parent
Returns parent object. Read-only.
(Inherited from RichTextString .)
Public property RtfText Obsolete.
Returns text in rtf format. Read-only.
(Inherited from RichTextString .)
Public property Text
Gets / sets text of the string.
(Inherited from RichTextString .)
Top
Methods
Name Description
Protected method AddFont
Adds a font to the worksheet.
(Inherited from RichTextString .)
Public method Append
Appends rich text string with specified text and font.
(Inherited from RichTextString .)
Public method BeginUpdate
This method should be called before several updates to the object will take place.
(Inherited from CommonWrapper .)
Public method Clear
Clears text and formatting.
(Inherited from RichTextString .)
Public method ClearFormatting
Clears string formatting.
(Inherited from RichTextString .)
Public method Clone
Creates a copy of the current object.
(Inherited from CommonWrapper .)
Public method Dispose
Suppresses finalization for the current object.
Public method EndUpdate
This method should be called after several updates to the object.
(Inherited from CommonWrapper .)
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 which is applied to character at the specified position.
(Inherited from RichTextString .)
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 range of characters.
(Inherited from RichTextString .)
Protected method SetRichTextFont
Sets the font for a specified range of text in a rich text string.
(Inherited from RichTextString .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also