API Reference

Struct

HtmlSrcSetCandidate

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Base ValueType
Modifiers sealed

Represents one candidate in an HTML srcset attribute.

Inheritance

  • ValueType
  • HtmlSrcSetCandidate

Usage

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 System.String requiredposition: 0
descriptor System.String requiredposition: 1

Properties

public String Url { get; } #

Candidate URL before caller-specific resolution.

public String Descriptor { get; } #

Candidate descriptor, such as 2x or 640w.