XlRichTextString.IsPlainText Property
Gets a value indicating whether the rich text in a cell is a plain text rather than formatted.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the rich text is empty or not formatted; otherwise, false. |
Remarks
The IsPlainText property returns true in the following cases:
- The rich text is empty and contains no text runs (the number of items in the XlRichTextString.Runs collection is 0).
- The rich text includes a single run formatted by default (the run’s XlRichTextRun.Font property value is null).
See Also