![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Image content. More...
Public Member Functions | |
ImageContent () | |
Image content. More... | |
Task | RenderWpfXaml (WpfXamlRenderer Renderer, MultimediaItem[] Items, IEnumerable< MarkdownElement > ChildNodes, bool AloneInParagraph, MarkdownDocument Document) |
Generates WPF XAML for the markdown element. More... | |
override Grade | Supports (MultimediaItem Item) |
Checks how well the handler supports multimedia content of a given type. More... | |
override bool | EmbedInlineLink (string Url) |
If the link provided should be embedded in a multi-media construct automatically. More... | |
Static Public Member Functions | |
static async Task | OutputWpf (XmlWriter Output, IImageSource Source, string Title) |
Outputs an image to WPF XAML More... | |
static async Task< IImageSource > | CheckDataUri (IImageSource Source) |
Checks a Data URI image, that it contains a decodable image. More... | |
static Task< string > | GetTemporaryFile (byte[] BinaryImage) |
Stores an image in binary form as a temporary file. Files will be deleted when application closes. More... | |
static async Task< string > | GetTemporaryFile (byte[] BinaryImage, string FileExtension) |
Stores an image in binary form as a temporary file. Files will be deleted when application closes. More... | |
Image content.
Definition at line 12 of file ImageContent.cs.
Waher.Content.Markdown.Wpf.Multimedia.ImageContent.ImageContent | ( | ) |
Image content.
Definition at line 17 of file ImageContent.cs.
|
staticinherited |
Checks a Data URI image, that it contains a decodable image.
Source | Image source. |
Definition at line 54 of file ImageContent.cs.
|
virtualinherited |
If the link provided should be embedded in a multi-media construct automatically.
Url | Inline link. |
Implements Waher.Content.Markdown.Model.MultimediaContent.
Definition at line 42 of file ImageContent.cs.
|
staticinherited |
Stores an image in binary form as a temporary file. Files will be deleted when application closes.
BinaryImage | Binary image. |
Definition at line 88 of file ImageContent.cs.
|
staticinherited |
Stores an image in binary form as a temporary file. Files will be deleted when application closes.
BinaryImage | Binary image. |
FileExtension | File extension. |
Definition at line 99 of file ImageContent.cs.
|
static |
Outputs an image to WPF XAML
Output | WPF XAML output. |
Source | Image source. |
Title | Title of image. |
Definition at line 51 of file ImageContent.cs.
Task Waher.Content.Markdown.Wpf.Multimedia.ImageContent.RenderWpfXaml | ( | WpfXamlRenderer | Renderer, |
MultimediaItem[] | Items, | ||
IEnumerable< MarkdownElement > | ChildNodes, | ||
bool | AloneInParagraph, | ||
MarkdownDocument | Document | ||
) |
Generates WPF XAML for the markdown element.
Renderer | Renderer |
Items | Multimedia items. |
ChildNodes | Child nodes. |
AloneInParagraph | If the element is alone in a paragraph. |
Document | Markdown document containing element. |
Implements Waher.Content.Markdown.Wpf.IMultimediaWpfXamlRenderer.
Definition at line 29 of file ImageContent.cs.
|
virtualinherited |
Checks how well the handler supports multimedia content of a given type.
Item | Multimedia item. |
Implements Waher.Content.Markdown.Model.MultimediaContent.
Definition at line 30 of file ImageContent.cs.