Table of Contents

Enum MailTextEmphasis

Namespace
MailFathom.Application.EmailContent.Rendering.Document
Assembly
MailFathom.Application.dll

What a message asked for about the appearance of one run of its text.

[Flags]
[JsonConverter(typeof(JsonStringEnumConverter<MailTextEmphasis>))]
public enum MailTextEmphasis

Fields

Bold = 1

The run is drawn heavier than the body text around it.

Italic = 2

The run is drawn slanted.

Monospace = 16

The run is drawn in the pane's fixed-width face, which is what code and terminal output need.

None = 0

The run is drawn as the pane's ordinary body text.

Strikethrough = 8

The run is drawn with a line through it.

Underline = 4

The run is drawn with a line under it.

Remarks

A flags enumeration because the five genuinely compose — mail routinely writes a bold italic link — and a run carrying them as one value is what keeps the reduction from splitting a sentence into a run per property. The set is deliberately about the glyphs rather than about where they sit: nothing here moves a run, sizes it against a viewport, or gives it a box of its own.