Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ImageInline

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Implements
IMarkdownInline IRenderableMarkdownInline IPlainTextMarkdownInline IMarkdownInlineAuxiliarySyntaxMetadataOwner
Modifiers
sealed

Standalone inline image: ![alt](src "title").

Inheritance

Constructors

public ImageInline(string alt, string src, string? title = null, string? plainAlt = null) #

Creates a new inline image.

Parameters

alt string required
src string required
title string? = null optional
plainAlt string? = null optional

Properties

public string Alt { get; } #

Alternate text for the image.

public string PlainAlt { get; } #

Plain-text alternate text used for HTML rendering and text extraction.

public string Src { get; } #

Image source URL or data URI.

public string? Title { get; } #

Optional title attribute shown as tooltip in HTML.

public MarkdownSourceSpan? AltSourceSpan { get; internal set; } #

Source span for the image alternate-text token when parsed from markdown.

public MarkdownSourceSpan? SrcSourceSpan { get; internal set; } #

Source span for the image source token when parsed from markdown.

public MarkdownSourceSpan? TitleSourceSpan { get; internal set; } #

Source span for the optional image title token when parsed from markdown.