Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

HtmlSrcSetCandidate

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Base
ValueType
Modifiers
sealed

Represents one candidate in an HTML srcset attribute.

Inheritance

  • ValueType
  • HtmlSrcSetCandidate

Usage

Explore 5 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.

Constructors

public HtmlSrcSetCandidate(string url, string descriptor) #

Creates a source-set candidate.

Parameters

url string required
descriptor string required

Properties

public string Url { get; } #

Candidate URL before caller-specific resolution.

public string Descriptor { get; } #

Candidate descriptor, such as 2x or 640w.

public int UrlStart { get; } #

Zero-based offset of HtmlSrcSetCandidate.Url in the parsed source-set value, or -1 when the candidate was constructed directly.