Class
HtmlRtfConversionDiagnostic
OfficeIMO.Html
Describes skipped, degraded, or otherwise notable content observed during HTML/RTF conversion.
Inheritance
- object
- HtmlRtfConversionDiagnostic
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property HtmlToRtfResult.RtfDiagnostics
- Property RtfToHtmlResult.RtfDiagnostics
Constructors
public HtmlRtfConversionDiagnostic(string code, string message, HtmlRtfConversionDiagnosticSeverity severity = Warning, string? source = null, string? detail = null, RtfConversionAction? action = null) #Creates a conversion diagnostic.
Parameters
- code string
- Stable diagnostic code.
- message string
- Human-readable message.
- severity OfficeIMO.Html.HtmlRtfConversionDiagnosticSeverity = Warning
- Diagnostic severity.
- source string? = null
- Optional HTML/resource source associated with the diagnostic.
- detail string? = null
- Optional low-level detail, such as an exception type or status text.
- action OfficeIMO.Rtf.RtfConversionAction? = null
- Explicit fidelity action taken for the affected content.
Inherited Methods
Properties
public HtmlRtfConversionDiagnosticSeverity Severity { get; } #Diagnostic severity.
public string? Source { get; } #Optional HTML/resource source associated with the diagnostic.
public string? Detail { get; } #Optional low-level detail, such as an exception type or status text.
public RtfConversionAction Action { get; } #Explicit fidelity action taken for the affected content.