# HtmlRenderLayoutSurface

Selects the geometry model used to contain rendered HTML.

Enum 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlRenderRequestClassification.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderRequestClassification.cs#L16)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Selects the geometry model used to contain rendered HTML.

## Inheritance

- Enum
- HtmlRenderLayoutSurface

## Usage

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

- Property [HtmlRenderArchiveManifest.Surface](/api/html/officeimo-html-htmlrenderarchivemanifest/#property-surface)
- Field [HtmlRenderLayoutSurface.Continuous](/api/html/officeimo-html-htmlrenderlayoutsurface/#field-continuous)
- Field [HtmlRenderLayoutSurface.Paged](/api/html/officeimo-html-htmlrenderlayoutsurface/#field-paged)
- Field [HtmlRenderLayoutSurface.Viewport](/api/html/officeimo-html-htmlrenderlayoutsurface/#field-viewport)
- Property [HtmlRenderProfileContract.Surface](/api/html/officeimo-html-htmlrenderprofilecontract/#property-surface)
- Property [HtmlRenderRequest.Surface](/api/html/officeimo-html-htmlrenderrequest/#property-surface)

### Accepted by parameters 3

- Method [HtmlRenderRequest.WithAxes](/api/html/officeimo-html-htmlrenderrequest/#method-withaxes-officeimo-html-htmlcssmediacontext-officeimo-html-htmlrenderlayoutsurface-officeimo-html-htmlrenderpaginationpolicy) parameter `surface`
- Method [HtmlRenderRequest.WithLayout](/api/html/officeimo-html-htmlrenderrequest/#method-withlayout-officeimo-html-htmlrenderlayoutsurface-officeimo-html-htmlrenderpaginationpolicy) parameter `surface`
- Method [HtmlRenderRequest.WithLayoutSurface](/api/html/officeimo-html-htmlrenderrequest/#method-withlayoutsurface-officeimo-html-htmlrenderlayoutsurface) parameter `surface`

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 HtmlRenderLayoutSurface Viewport` [#](#field-viewport)

[HtmlRenderRequestClassification.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderRequestClassification.cs#L18)

One fixed-width and fixed-height viewport clipped to its bounds.

Value: `0`

`public const HtmlRenderLayoutSurface Continuous` [#](#field-continuous)

[HtmlRenderRequestClassification.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderRequestClassification.cs#L20)

One fixed-width surface whose height grows with document content.

Value: `1`

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

[HtmlRenderRequestClassification.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Rendering/HtmlRenderRequestClassification.cs#L22)

One or more fixed-size page sheets.

Value: `2`

<!-- PowerForge markdown artifact sha256:5FF48DB64AB98D917DDB454607C4C96225AF22E6C56D1AC530C8CFA8404B0A42 -->
