Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

HtmlSrcSetCandidate

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 804a7612eee4 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 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.

public Int32 UrlStart { get; } #

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