Html To TextMax Output Length Property
Get or set the maximum output length.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The maximum output length.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxOutputLength { get; set; }Property Value
Int32The maximum output length.
Remarks
Gets or sets the maximum number of UTF-16 characters written by the converter, including generated indentation, link destinations and line endings. This bounds expansion caused by deeply nested lists or blockquotes. Exceeding this limit throws a FormatException.
The default value is 67108864. The literal header and footer are not included in this limit.
Exceptions
| ArgumentOutOfRangeException | value is less than 1. |