New to Telerik UI for .NET MAUIStart a free 30-day trial

Reperesents an image source from a file in the RadRichTextEditor.

Definition

Constructors

Initializes a new instance of the RichTextFileImageSource class.

C#
public RichTextFileImageSource(string path, RichTextImageType type)
Parameters:pathstring

Specifies the file path to the image.

typeRichTextImageType

Specifies the format type of the image.

Properties

Gets the file path to the image.

C#
public string Path { get; }

Gets the format type of the image.

C#
public RichTextImageType Type { get; }

Methods

ToImageSource()

ImageSource

Converts the current RichTextFileImageSource to an ImageSource.

C#
public override ImageSource ToImageSource()
Returns:

ImageSource

The converted ImageSource.

Overrides: RichTextImageSource.ToImageSource()