Back to Devexpress

RichTextString.Length Property

officefileapi-devexpress-dot-spreadsheet-dot-richtextstring-01d6a2b9.md

latest1.4 KB
Original Source

RichTextString.Length Property

Returns the number of characters in a rich text string.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public int Length { get; }
vb
Public ReadOnly Property Length As Integer

Property Value

TypeDescription
Int32

An integer that is the rich text length. 0 , if the rich text string is empty.

|

Remarks

To obtain the full text contained in a cell, use the RichTextString.Text property.

See Also

Text

How to: Apply Rich Formatting to Cell Text

RichTextString Class

RichTextString Members

DevExpress.Spreadsheet Namespace