EnrichedToHtmlMaxOutputLength Property

Get or set the maximum output length.

Definition

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

Property Value

Int32
The maximum output length.

Remarks

Limits all UTF-16 characters written, including HTML markup, escaped text, headers and footers. The default is 67108864. Exceeding the limit throws FormatException.

Exceptions

ArgumentOutOfRangeException value is less than one.

See Also