Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRenderCapabilityGalleryOptionsFluent

OfficeIMO.Html.Pdf

Namespace
OfficeIMO.Html.Pdf
Assembly
OfficeIMO.Html.Pdf
Modifiers
static

The fluent methods of 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

Methods

public static HtmlRenderCapabilityGalleryOptions Expectation(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, HtmlCapabilityGalleryExpectation item) #

Adds an item to HtmlRenderCapabilityGalleryOptions.Expectations: 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) #

Adds items to HtmlRenderCapabilityGalleryOptions.Expectations: 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) #

Sets HtmlRenderCapabilityGalleryOptions.PdfProofOptions: 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

// C# initializer or property                                  // C# fluent
htmlRenderCapabilityGalleryOptions.PdfProofOptions = value;    htmlRenderCapabilityGalleryOptions.PdfProofOptions(value);
public static HtmlRenderCapabilityGalleryOptions PdfProofOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, Action<PdfConversionProofOptions> configure) #

Configures HtmlRenderCapabilityGalleryOptions.PdfProofOptions 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) #

Sets HtmlRenderCapabilityGalleryOptions.PreviewAllPages: 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

// C# initializer or property                                  // C# fluent
htmlRenderCapabilityGalleryOptions.PreviewAllPages = value;    htmlRenderCapabilityGalleryOptions.PreviewAllPages(value);
public static HtmlRenderCapabilityGalleryOptions PreviewFormat(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, OfficeImageExportFormat item) #

Adds an item to HtmlRenderCapabilityGalleryOptions.PreviewFormats: 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) #

Adds items to HtmlRenderCapabilityGalleryOptions.PreviewFormats: 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) #

Sets HtmlRenderCapabilityGalleryOptions.PreviewPageIndex: 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

// C# initializer or property                                   // C# fluent
htmlRenderCapabilityGalleryOptions.PreviewPageIndex = value;    htmlRenderCapabilityGalleryOptions.PreviewPageIndex(value);
RenderOptions 2 overloads
public static HtmlRenderCapabilityGalleryOptions RenderOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, HtmlPdfExportOptions value) #

Sets HtmlRenderCapabilityGalleryOptions.RenderOptions: 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

// C# initializer or property                                // C# fluent
htmlRenderCapabilityGalleryOptions.RenderOptions = value;    htmlRenderCapabilityGalleryOptions.RenderOptions(value);
public static HtmlRenderCapabilityGalleryOptions RenderOptions(HtmlRenderCapabilityGalleryOptions htmlRenderCapabilityGalleryOptions, Action<HtmlPdfExportOptions> configure) #

Configures HtmlRenderCapabilityGalleryOptions.RenderOptions 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.