OfficeIMO

API Reference

Class

ImagePictureSource

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

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

Inheritance

  • Object
  • ImagePictureSource

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 System.String requiredposition: 0
media System.String = null optionalposition: 1
type System.String = null optionalposition: 2
sizes System.String = null optionalposition: 3
srcSet System.String = null optionalposition: 4

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.