Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlConversionResult`1

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 33d062b583cb with working tree changes
Implements
IOfficeConversionResult<T, HtmlConversionReport> IOfficeResult<T> IOfficeResult
Modifiers abstract

Shared result contract for HTML conversions that produce a native target artifact.

Inheritance

  • Object
  • HtmlConversionResult`1

Type Parameters

T
Value produced by the conversion.

Methods

public T RequireNoLoss() #
Returns: T

Returns the native artifact only when conversion completed successfully and without approximation, omission, or failure diagnostics.

public T RequireValue() #
Returns: T

Returns the native artifact when conversion succeeded, or throws a structured conversion exception.

Properties

public T Value { get; } #

Value produced by the conversion.

public HtmlConversionReport Report { get; } #

Diagnostics and fidelity outcome for this conversion.

public Boolean Succeeded { get; } #

Whether conversion completed without an error diagnostic.

public Boolean HasLoss { get; } #

Whether the conversion approximated, omitted, or failed any source content.