# HtmlConversionProfile

Shared OfficeIMO HTML conversion profile understood by gallery contracts, diagnostics, scoring, and adapters.

Enum 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlConversionProfile.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/HtmlConversionProfile.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Shared OfficeIMO HTML conversion profile understood by gallery contracts, diagnostics, scoring, and adapters.

## Inheritance

- Enum
- HtmlConversionProfile

## Usage

Explore 13 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 9

- Property [HtmlCapabilityGalleryManifest.Profile](/api/html/officeimo-html-htmlcapabilitygallerymanifest/#property-profile)
- Property [HtmlConversionDocumentOptions.Profile](/api/html/officeimo-html-htmlconversiondocumentoptions/#property-profile)
- Field [HtmlConversionProfile.Document](/api/html/officeimo-html-htmlconversionprofile/#field-document)
- Field [HtmlConversionProfile.HighFidelityPrint](/api/html/officeimo-html-htmlconversionprofile/#field-highfidelityprint)
- Field [HtmlConversionProfile.PositionedReview](/api/html/officeimo-html-htmlconversionprofile/#field-positionedreview)
- Field [HtmlConversionProfile.Semantic](/api/html/officeimo-html-htmlconversionprofile/#field-semantic)
- Property [HtmlConversionProfileContract.Profile](/api/html/officeimo-html-htmlconversionprofilecontract/#property-profile)
- Property [HtmlMarketScenario.Profile](/api/html/officeimo-html-htmlmarketscenario/#property-profile)
- Property [OfficeHtmlConversionProfileContract.SharedProfile](/api/html/officeimo-html-officehtmlconversionprofilecontract/#property-sharedprofile)

### Accepted by parameters 4

- Constructor [HtmlCapabilityGalleryManifest.HtmlCapabilityGalleryManifest](/api/html/officeimo-html-htmlcapabilitygallerymanifest/#constructor-ctor-officeimo-html-htmlcapabilitygalleryresult-officeimo-html-htmlconversionprofile-officeimo-html-htmlroundtripscore-officeimo-html-htmlresourcemanifest) parameter `profile`
- Constructor [HtmlConversionProfileContract.HtmlConversionProfileContract](/api/html/officeimo-html-htmlconversionprofilecontract/#constructor-ctor-officeimo-html-htmlconversionprofile-string-string-string-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-string) parameter `profile`
- Method [HtmlConversionProfileContracts.Get](/api/html/officeimo-html-htmlconversionprofilecontracts/#method-get-officeimo-html-htmlconversionprofile) parameter `profile`
- Constructor [OfficeHtmlConversionProfileContract.OfficeHtmlConversionProfileContract](/api/html/officeimo-html-officehtmlconversionprofilecontract/#constructor-ctor-officeimo-html-officehtmlconversionprofile-string-string-officeimo-html-htmlconversionprofile-string-string-string-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-string) parameter `sharedProfile`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const HtmlConversionProfile Semantic` [#](#field-semantic)

[HtmlConversionProfile.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/HtmlConversionProfile.cs#L10)

Prioritizes clean semantic document output over browser-perfect visual reproduction.

Value: `0`

`public const HtmlConversionProfile Document` [#](#field-document)

[HtmlConversionProfile.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/HtmlConversionProfile.cs#L15)

Balances semantic output, document styling, tables, forms, images, and diagnostics for common office documents.

Value: `1`

`public const HtmlConversionProfile HighFidelityPrint` [#](#field-highfidelityprint)

[HtmlConversionProfile.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/HtmlConversionProfile.cs#L20)

Captures the high-fidelity print/PDF ambition where layout preservation is more important than editability.

Value: `2`

`public const HtmlConversionProfile PositionedReview` [#](#field-positionedreview)

[HtmlConversionProfile.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/HtmlConversionProfile.cs#L25)

Preserves page or source geometry for review HTML where inspection matters more than editable reconstruction.

Value: `3`

<!-- PowerForge markdown artifact sha256:6475B1A7B2D9694E31D60DEA776FB46927CCCB62DC41AECE748A7A0C0C70D45C -->
