Click or drag to resize
MimeKit

TextPartIsRichText Property

Get whether or not this text part contains RTF.

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

Property Value

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