The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

RichTextRun Interface

A region of the cell text with its own set of font characteristics.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public interface RichTextRun : IEquatable<RichTextRun>
Public Interface RichTextRun
    Inherits IEquatable(Of RichTextRun)
public interface RichTextRun : IEquatable<RichTextRun>
Public Interface RichTextRun
    Inherits IEquatable(Of RichTextRun)

Remarks

A cell in a worksheet may contain rich formatted text (RichTextString) grouped into one or more runs. Each run is specified by the RichTextRun object and defines a region of the cell text (RichTextRun.Text) with its own set of font characteristics (RichTextRun.Font). The RichTextString.Runs property provides access to the collection that stores text runs.

To apply rich formatting to the cell text, do one of the following:

Call the Range.SetRichText method to assign the rich formatted text to a cell.

For details on how to apply different fonts to specific regions of the cell text, refer to the How to: Apply Rich Formatting to Cell Text document.

See Also