# HtmlRenderCapabilityGalleryOptions

Controls a reproducible direct-render HTML/PDF capability gallery scenario.

Class 

`OfficeIMO.Html.Pdf`

**Namespace**

`OfficeIMO.Html.Pdf`

**Assembly**

`OfficeIMO.Html.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[HtmlRenderCapabilityGalleryOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L5)

**Modifiers**

sealed

Controls a reproducible direct-render HTML/PDF capability gallery scenario.

## Inheritance

- object
- HtmlRenderCapabilityGalleryOptions

## 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.

### Accepted by parameters 1

- Method [HtmlRenderCapabilityGalleryExtensions.SaveRenderCapabilityGallery](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryextensions/#method-saverendercapabilitygallery-officeimo-html-htmlconversiondocument-string-officeimo-html-pdf-htmlrendercapabilitygalleryoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public HtmlRenderCapabilityGalleryOptions(HtmlCapabilityGalleryScenario scenario)` [#](#constructor-ctor-officeimo-html-htmlcapabilitygalleryscenario)

[HtmlRenderCapabilityGalleryOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L5)

Creates options for a named scenario.

Parameters

**scenario OfficeIMO.Html.HtmlCapabilityGalleryScenario required**

## 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 virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public HtmlCapabilityGalleryScenario Scenario { get; }` [#](#property-scenario)

[HtmlRenderCapabilityGalleryOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L13)

Scenario identity recorded in the generated manifest.

`public HtmlPdfExportOptions RenderOptions { get; set; }` [#](#property-renderoptions)

[HtmlRenderCapabilityGalleryOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L16)

Direct-render settings shared by PDF, PNG, and SVG artifacts.

`public int PreviewPageIndex { get; set; }` [#](#property-previewpageindex)

[HtmlRenderCapabilityGalleryOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L19)

Zero-based page used for the preview artifacts.

`public bool PreviewAllPages { get; set; }` [#](#property-previewallpages)

[HtmlRenderCapabilityGalleryOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L22)

Exports every page when true; otherwise uses PreviewPageIndex and the original preview filenames.

`public IList<OfficeImageExportFormat> PreviewFormats { get; }` [#](#property-previewformats)

[HtmlRenderCapabilityGalleryOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L25)

Image formats to include. Defaults to PNG and SVG.

`public PdfConversionProofOptions PdfProofOptions { get; set; }` [#](#property-pdfproofoptions)

[HtmlRenderCapabilityGalleryOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L32)

Executed checks for the saved PDF bytes. Free-text Expectations remain declarations.

`public IList<HtmlCapabilityGalleryExpectation> Expectations { get; }` [#](#property-expectations)

[HtmlRenderCapabilityGalleryOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlRenderCapabilityGalleryOptions.cs#L35)

Declared capability expectations, recorded separately from executed artifact checks.

<!-- PowerForge markdown artifact sha256:D1776C301E5D3DA790910018622BF612CA7E5E2F913795F9CB50194ADED42BBA -->
