EnrichedToHtmlOutputHtmlFragment Property

Get or set whether to output only an HTML fragment.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool OutputHtmlFragment { get; set; }

Property Value

Boolean
Whether to omit the document wrapper.

Remarks

When false, the output is wrapped in html and body elements. The default is false.

See Also