# HtmlRenderCapabilityGalleryOptionsFluent

The fluent methods of HtmlRenderCapabilityGalleryOptions, generated from its public properties: A property-named method sets a property and a singular-named…

Class 

`OfficeIMO.Html.Pdf`

**Namespace**

`OfficeIMO.Html.Pdf`

**Assembly**

`OfficeIMO.Html.Pdf`

**Modifiers**

static

The fluent methods of [HtmlRenderCapabilityGalleryOptions](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- HtmlRenderCapabilityGalleryOptionsFluent

Filter members 

Show inherited

## Methods

`public static HtmlRenderCapabilityGalleryOptions Expectation(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, HtmlCapabilityGalleryExpectation item)` [#](#method-expectation-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-officeimo-html-htmlcapabilitygalleryexpectation)

Adds an item to [HtmlRenderCapabilityGalleryOptions.Expectations](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Declared capability expectations, recorded separately from executed artifact checks.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**item OfficeIMO.Html.HtmlCapabilityGalleryExpectation required**

The item.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

`public static HtmlRenderCapabilityGalleryOptions Expectations(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, IEnumerable<HtmlCapabilityGalleryExpectation> items)` [#](#method-expectations-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-collections-generic-ienumerable-officeimo-html-htmlcapabilitygalleryexpectation)

Adds items to [HtmlRenderCapabilityGalleryOptions.Expectations](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Declared capability expectations, recorded separately from executed artifact checks.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlCapabilityGalleryExpectation> required**

The items, in order.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

PdfProofOptions 2 overloads

`public static HtmlRenderCapabilityGalleryOptions PdfProofOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, PdfConversionProofOptions value)` [#](#method-pdfproofoptions-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-officeimo-pdf-pdfconversionproofoptions)

Sets [HtmlRenderCapabilityGalleryOptions.PdfProofOptions](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Executed checks for the saved PDF bytes. Free-text Expectations remain declarations.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**value OfficeIMO.Pdf.PdfConversionProofOptions required**

The value.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
htmlRenderCapabilityGalleryOptions.PdfProofOptions = value;    htmlRenderCapabilityGalleryOptions.PdfProofOptions(value);
```

`public static HtmlRenderCapabilityGalleryOptions PdfProofOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, Action<PdfConversionProofOptions> configure)` [#](#method-pdfproofoptions-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-action-officeimo-pdf-pdfconversionproofoptions)

Configures [HtmlRenderCapabilityGalleryOptions.PdfProofOptions](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/) in place (creating it when not set): Executed checks for the saved PDF bytes. Free-text Expectations remain declarations.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**configure System.Action<OfficeIMO.Pdf.PdfConversionProofOptions> required**

Configures the value.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

`public static HtmlRenderCapabilityGalleryOptions PreviewAllPages(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, bool value = true)` [#](#method-previewallpages-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-boolean)

Sets [HtmlRenderCapabilityGalleryOptions.PreviewAllPages](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Exports every page when true; otherwise uses PreviewPageIndex and the original preview filenames.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
htmlRenderCapabilityGalleryOptions.PreviewAllPages = value;    htmlRenderCapabilityGalleryOptions.PreviewAllPages(value);
```

`public static HtmlRenderCapabilityGalleryOptions PreviewFormat(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, OfficeImageExportFormat item)` [#](#method-previewformat-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-officeimo-drawing-officeimageexportformat)

Adds an item to [HtmlRenderCapabilityGalleryOptions.PreviewFormats](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Image formats to include. Defaults to PNG and SVG.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**item OfficeIMO.Drawing.OfficeImageExportFormat required**

The item.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

`public static HtmlRenderCapabilityGalleryOptions PreviewFormats(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, IEnumerable<OfficeImageExportFormat> items)` [#](#method-previewformats-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-collections-generic-ienumerable-officeimo-drawing-officeimageexportformat)

Adds items to [HtmlRenderCapabilityGalleryOptions.PreviewFormats](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Image formats to include. Defaults to PNG and SVG.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeImageExportFormat> required**

The items, in order.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

`public static HtmlRenderCapabilityGalleryOptions PreviewPageIndex(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, int value)` [#](#method-previewpageindex-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-int32)

Sets [HtmlRenderCapabilityGalleryOptions.PreviewPageIndex](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Zero-based page used for the preview artifacts.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**value int required**

The value.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

Examples

```csharp
// C# initializer or property                                   // C# fluent
htmlRenderCapabilityGalleryOptions.PreviewPageIndex = value;    htmlRenderCapabilityGalleryOptions.PreviewPageIndex(value);
```

RenderOptions 2 overloads

`public static HtmlRenderCapabilityGalleryOptions RenderOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, HtmlPdfExportOptions value)` [#](#method-renderoptions-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-officeimo-html-pdf-htmlpdfexportoptions)

Sets [HtmlRenderCapabilityGalleryOptions.RenderOptions](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/): Direct-render settings shared by PDF, PNG, and SVG artifacts.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**value OfficeIMO.Html.Pdf.HtmlPdfExportOptions required**

The value.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

Examples

```csharp
// C# initializer or property                                // C# fluent
htmlRenderCapabilityGalleryOptions.RenderOptions = value;    htmlRenderCapabilityGalleryOptions.RenderOptions(value);
```

`public static HtmlRenderCapabilityGalleryOptions RenderOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, Action<HtmlPdfExportOptions> configure)` [#](#method-renderoptions-officeimo-html-pdf-htmlrendercapabilitygalleryoptions-action-officeimo-html-pdf-htmlpdfexportoptions)

Configures [HtmlRenderCapabilityGalleryOptions.RenderOptions](/api/html-pdf/officeimo-html-pdf-htmlrendercapabilitygalleryoptions/) in place (creating it when not set): Direct-render settings shared by PDF, PNG, and SVG artifacts.

Parameters

**htmlRenderCapabilityGalleryOptions OfficeIMO.Html.Pdf.HtmlRenderCapabilityGalleryOptions required**

The instance.

**configure System.Action<OfficeIMO.Html.Pdf.HtmlPdfExportOptions> required**

Configures the value.

Returns

`HtmlRenderCapabilityGalleryOptions` The same instance.

## 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?`

<!-- PowerForge markdown artifact sha256:2FEB60E749405396CC29E5D59FA69AFE922562AA763E664FBB80869B99F95EAE -->
