# HtmlResponsiveImageSelection

Result of deterministic responsive image selection.

Struct 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlResponsiveImageSelection.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L55)

**Base**

`ValueType`

**Modifiers**

sealed

Result of deterministic responsive image selection.

## Inheritance

- ValueType
- HtmlResponsiveImageSelection

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

### Returned or exposed by 1

- Method [HtmlResponsiveImageSelector.Select](/api/html/officeimo-html-htmlresponsiveimageselector/#method-select-string-string-string-officeimo-html-htmlresponsiveimageselectionoptions)

Filter members 

Show inherited

## Inherited Methods

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from ValueType

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public override string? ToString()` [#](#method-tostring)

Inherited from ValueType

Returns

`string?`

## Properties

`public bool HasValue { get; }` [#](#property-hasvalue)

[HtmlResponsiveImageSelection.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L55)

Whether a valid candidate was selected.

`public HtmlSrcSetCandidate Candidate { get; }` [#](#property-candidate)

[HtmlResponsiveImageSelection.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L58)

Selected candidate, preserving its authored descriptor.

`public double EffectiveDensity { get; }` [#](#property-effectivedensity)

[HtmlResponsiveImageSelection.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L61)

Candidate density after normalizing a width descriptor against the selected source size.

`public double SourceSize { get; }` [#](#property-sourcesize)

[HtmlResponsiveImageSelection.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L64)

Selected source size in CSS pixels. Density-only sets use the viewport width.

`public bool UsesDefaultSource { get; }` [#](#property-usesdefaultsource)

[HtmlResponsiveImageSelection.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Images/HtmlResponsiveImageSelection.cs#L67)

Whether the selected candidate was synthesized from the separate default source.

<!-- PowerForge markdown artifact sha256:08709C8105392F7CD70B9A74D873234C78B6149CC7A88C6D4D31D7B502C7FD17 -->
