HtmlRenderCapabilityGalleryOptionsFluent
OfficeIMO.Html.Pdf
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
- The instance.
- item OfficeIMO.Html.HtmlCapabilityGalleryExpectation
- The item.
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
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlCapabilityGalleryExpectation>
- The items, in order.
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
- The instance.
- value OfficeIMO.Pdf.PdfConversionProofOptions
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfConversionProofOptions>
- Configures the value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- item OfficeIMO.Drawing.OfficeImageExportFormat
- The item.
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
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeImageExportFormat>
- The items, in order.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
htmlRenderCapabilityGalleryOptions.PreviewPageIndex = value; htmlRenderCapabilityGalleryOptions.PreviewPageIndex(value);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
- The instance.
- value OfficeIMO.Html.Pdf.HtmlPdfExportOptions
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Html.Pdf.HtmlPdfExportOptions>
- Configures the value.