Quoted Printable Encoder(New Line Format, Int 32) Constructor
Initialize a new instance of the QuotedPrintableEncoder class.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public QuotedPrintableEncoder(
NewLineFormat newLineFormat,
int maxLineLength = 76
)Parameters
- newLineFormat NewLineFormat
- The line ending format.
- maxLineLength Int32 (Optional)
- The maximum line length, excluding line endings, between 60 and 998 (inclusive).
Remarks
Creates a new quoted-printable encoder using the specified line endings for both hard and soft
line breaks. Hard line breaks remain in the decoded content. Line lengths over 76 are capped at 76.
Exceptions
| ArgumentOutOfRangeException | newLineFormat is not Dos or Unix, or maxLineLength is not between 60 and 998 (inclusive). |