Edit

Share via


ImageInline Class

Definition

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.

Represents an embedded image.

public class ImageInline : Microsoft.Toolkit.Parsers.Markdown.Inlines.MarkdownInline, Microsoft.Toolkit.Parsers.Markdown.Inlines.IInlineLeaf
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public class ImageInline : Microsoft.Toolkit.Parsers.Markdown.Inlines.MarkdownInline, Microsoft.Toolkit.Parsers.Markdown.Inlines.IInlineLeaf
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public class ImageInline : Microsoft.Toolkit.Parsers.Markdown.Inlines.MarkdownInline, Microsoft.Toolkit.Parsers.Markdown.Inlines.IInlineLeaf
type ImageInline = class
    inherit MarkdownInline
    interface IInlineLeaf
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type ImageInline = class
    inherit MarkdownInline
    interface IInlineLeaf
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type ImageInline = class
    inherit MarkdownInline
    interface IInlineLeaf
Public Class ImageInline
Inherits MarkdownInline
Implements IInlineLeaf
Inheritance
Attributes
Implements

Constructors

ImageInline()

Initializes a new instance of the ImageInline class.

Properties

ImageHeight

Gets image height If value is greater than 0, ImageStretch is set to UniformToFill If both ImageWidth and ImageHeight are greater than 0, ImageStretch is set to Fill

ImageWidth

Gets image width If value is greater than 0, ImageStretch is set to UniformToFill If both ImageWidth and ImageHeight are greater than 0, ImageStretch is set to Fill

ReferenceId

Gets or sets the ID of a reference, if this is a reference-style link.

RenderUrl

Gets or sets the image Render URL.

Text

Gets or sets the text for this run.

Tooltip

Gets or sets a text to display on hover.

Type

Gets or sets this element is.

(Inherited from MarkdownInline)
Url

Gets or sets the image URL.

Methods

ToString()

Converts the object into it's textual representation.

Applies to