Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlConversionResult<T>

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Implements
IOfficeResult<T> IOfficeResult
Modifiers
abstract

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

Inheritance

  • object
  • HtmlConversionResult<T>

Type Parameters

T
Value produced by the conversion.

Methods

public T RequireValue() #

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

Returns

T
public void ThrowIfLoss() #

Throws when the conversion report describes possible fidelity loss.

Properties

public T Value { get; } #

Value produced by the conversion.

public HtmlConversionReport Report { get; } #

Diagnostics and fidelity outcome for this conversion.

public bool Succeeded { get; } #

Whether conversion completed without an error diagnostic.

public bool HasLoss { get; } #

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