Rtf To HtmlCompliance Logger Property
Get or set the logger to use for reporting RTF compliance violations.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The RTF compliance logger.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public IRtfComplianceLogger? ComplianceLogger { get; set; }Property Value
IRtfComplianceLoggerThe RTF compliance logger.
Remarks
Gets or sets the logger to use for reporting RTF compliance violations.
Violations are reported as they are encountered during Convert(TextReader, TextWriter). When the value is (the default), no compliance checks are performed.
Only the RTF itself is checked; HTML that is extracted from the document (see ExtractEncapsulatedHtml) is not.