Click or drag to resize
MimeKit

ITextPartIsRichText Property

Get whether or not this text part contains RTF.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
bool IsRichText { get; }

Property Value

Boolean
true if the text is RTF; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedException The ITextPart has been disposed.
Remarks
Checks whether or not the text part's Content-Type is text/rtf.
See Also