| TextPreviewerGetPreviewText(Stream, String) Method |
Get a text preview of a stream of text in the specified charset.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public virtual string GetPreviewText(
Stream stream,
string charset
)
Parameters
- stream Stream
- The original text stream.
- charset String
- The charset encoding of the stream.
Return Value
StringA string representing a shortened preview of the original text.
Exceptions Remarks
Get a text preview of a stream of text in the specified charset.
See Also