Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ImagePictureSource

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

HTML-only responsive picture source metadata preserved on imported image blocks.

Inheritance

  • object
  • ImagePictureSource

Usage

Explore 2 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 ImagePictureSource(string path, string? media = null, string? type = null, string? sizes = null, string? srcSet = null) #

Create a responsive picture source entry.

Parameters

path string required
media string? = null optional
type string? = null optional
sizes string? = null optional
srcSet string? = null optional

Properties

public string Path { get; } #

Resolved source URL.

public string? SrcSet { get; } #

Optional fully resolved srcset value preserved from the source element.

public string? Media { get; } #

Optional media query associated with the source.

public string? Type { get; } #

Optional MIME type associated with the source.

public string? Sizes { get; } #

Optional sizes hint associated with the source.