# HtmlRenderMode

Selects the layout surface used by the first-party HTML renderer.

Enum 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Selects the layout surface used by the first-party HTML renderer.

## Inheritance

- Enum
- HtmlRenderMode

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Render HTML to Images and Convert to Word, Markdown and RTF](/docs/html/render-and-convert/) Guide
  
  Render HTML to PNG, JPEG, WebP, TIFF or SVG screenshots and page images, and convert HTML into editable Word, Markdown or RTF documents.
- [Read MHTML Web Archives and Site Bundles](/docs/html/mhtml-and-site-bundles/) Guide
  
  Open MHTML web archives or zipped websites, read their HTML and resources, create new archives, and convert them to PDF or images offline.
- [Convert EPUB to PDF, Markdown and Images](/docs/epub/convert/) Guide
  
  Convert EPUB e-books to PDF or Markdown, render chapters to PNG or SVG images, and save chapter XHTML and text to files for your own converter.

## Usage

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

- Property [HtmlRenderDocument.Mode](/api/html/officeimo-html-htmlrenderdocument/#property-mode)
- Field [HtmlRenderMode.Continuous](/api/html/officeimo-html-htmlrendermode/#field-continuous)
- Field [HtmlRenderMode.Paged](/api/html/officeimo-html-htmlrendermode/#field-paged)
- Property [HtmlRenderOptions.Mode](/api/html/officeimo-html-htmlrenderoptions/#property-mode)

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 HtmlRenderMode Continuous` [#](#field-continuous)

[HtmlRenderMode.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderMode.cs#L8)

Renders the document as one continuous screen-oriented surface.

Value: `0`

`public const HtmlRenderMode Paged` [#](#field-paged)

[HtmlRenderMode.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderMode.cs#L11)

Fragments the document into fixed print-oriented pages.

Value: `1`

<!-- PowerForge markdown artifact sha256:69638D248C1DD523D0A6CDEFC2C21662C993D0C9555ACB6CDF21C74A5CD0DA64 -->
