# MhtmlImageEmbeddingResult

Editable HTML projection with archived image bytes embedded and resource losses reported.

Class 

`OfficeIMO.Mhtml`

**Namespace**

`OfficeIMO.Mhtml`

**Assembly**

`OfficeIMO.Mhtml`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[MhtmlImageEmbeddingResult.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlImageEmbeddingResult.cs#L19)

**Base**

`HtmlConversionResult<HtmlConversionDocument>`

**Implements**

`IOfficeResult<HtmlConversionDocument>` `IOfficeResult`

**Modifiers**

sealed

Editable HTML projection with archived image bytes embedded and resource losses reported. Target adapters may add their own format-specific diagnostics when importing HtmlConversionResult<T>.Value.

## Inheritance

- HtmlConversionResult<HtmlConversionDocument>
- MhtmlImageEmbeddingResult

## Usage

Explore 1 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 1

- Method [MhtmlDocument.CreateEmbeddedImageDocumentResult](/api/mhtml/officeimo-mhtml-mhtmldocument/#method-createembeddedimagedocumentresult-officeimo-html-htmlrenderoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public HtmlConversionDocument RequireValue()` [#](#method-requirevalue)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

Returns

`HtmlConversionDocument`

`public void ThrowIfLoss()` [#](#method-throwifloss)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int EmbeddedResourceCount { get; }` [#](#property-embeddedresourcecount)

[MhtmlImageEmbeddingResult.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlImageEmbeddingResult.cs#L19)

Number of distinct archived images embedded in the editable document.

`public long EmbeddedResourceBytes { get; }` [#](#property-embeddedresourcebytes)

[MhtmlImageEmbeddingResult.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlImageEmbeddingResult.cs#L22)

Total decoded bytes across distinct embedded images.

## Inherited Properties

`public HtmlConversionDocument Value { get; }` [#](#property-value)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

`public HtmlConversionReport Report { get; }` [#](#property-report)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

`public bool Succeeded { get; }` [#](#property-succeeded)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

`public bool HasLoss { get; }` [#](#property-hasloss)

Inherited from HtmlConversionResult<T>[[HtmlConversionDocument, Html, Version=0, Culture=neutral, PublicKeyToken=null]]

<!-- PowerForge markdown artifact sha256:0A4F2F7F30059260036EDC49200DE315C3250312D59D33584DAD9974F8705AD4 -->
