Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlResourcePipelineOptions

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

Options controlling shared OfficeIMO HTML resource planning.

Inheritance

  • Object
  • HtmlResourcePipelineOptions

Usage

Explore 3 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 2

Constructors

public HtmlResourcePipelineOptions() #

Properties

public Uri? BaseUri { get; set; } #

Optional base URI used to resolve relative resource references.

public HtmlUrlPolicy UrlPolicy { get; set; } #

URL policy applied before resource references are reported as allowed.

public HtmlUrlPolicy? ResourceUrlPolicy { get; set; } #

Optional separate policy for images, stylesheets, fonts, media, and other non-hyperlink resources. When omitted, it is derived from HtmlResourcePipelineOptions.UrlPolicy.

public HtmlConversionLimits Limits { get; set; } #

Shared source, DOM, stylesheet, and semantic-metadata limits applied before discovery.

public Int32? MaxResponsiveImageCandidates { get; set; } #

Additional responsive image candidate cap per source set. Null adds no cap; a stricter shared limit still applies.

public Int32? MaxResponsiveImageSizesCharacters { get; set; } #

Additional character cap for one responsive image sizes value. A stricter shared limit still applies.

public HtmlCssMediaContext MediaContext { get; set; } #

CSS media context used when deciding whether media-gated resources are active.

public Double? MediaWidth { get; set; } #

Optional media-query surface width in CSS pixels. When omitted, the context default is used.

public Double? MediaHeight { get; set; } #

Optional media-query surface height in CSS pixels. When omitted, the context default is used.

public Double DevicePixelRatio { get; set; } #

Target device-pixel density used to select one responsive image candidate.

public Double DefaultFontSize { get; set; } #

Root and initial font size used to resolve relative lengths in responsive image sizes.

public HtmlRenderMediaFeatures MediaFeatures { get; set; } #

Static device and user-preference values used when deciding whether media-gated resources are active.