Class
ImagePictureSource
OfficeIMO.Markdown
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.
Returned or exposed by 2
- Property ImageBlock.PictureSources
- Property MarkdownNativeImageBlock.PictureSources
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
- media string? = null
- type string? = null
- sizes string? = null
- srcSet string? = null
Inherited Methods
Properties
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.