MarkdownImage
Namespace: Markdown
Markdown image.
public class MarkdownImage : MarkdownLink
Inheritance Object → MarkdownTextElement → MarkdownInlineElement → MarkdownLink → MarkdownImage
Properties
Url
Gets or sets the link URL.
public string Url { get; set; }
Property Value
String
Link URL.
Text
Gets or sets the text.
public string Text { get; set; }
Property Value
String
The text or a string that represents the markdown inline element.
Constructors
MarkdownImage(String, String)
Initializes a new instance of the MarkdownImage class.
public MarkdownImage(string altText, string imageUrl)
Parameters
altText
String
The alternative text.
imageUrl
String
The image URL.
Methods
ToString()
Returns a string that represents the current markdown image.
public string ToString()
Returns
String
A string that represents the current markdown image.