ClassRichTextFileImageSource
Class
Reperesents an image source from a file in the RadRichTextEditor.
Definition
Namespace:Telerik.Maui.Controls.RichTextEditor
Assembly:Telerik.Maui.Controls.dll
Syntax:
cs-api-definition
public class RichTextFileImageSource : RichTextImageSource
Inheritance: objectRichTextImageSourceRichTextFileImageSource
Inherited Members
Constructors
RichTextFileImageSource(string, RichTextImageType)
Initializes a new instance of the RichTextFileImageSource class.
Declaration
cs-api-definition
public RichTextFileImageSource(string path, RichTextImageType type)
Parameters
path
Specifies the file path to the image.
type
Specifies the format type of the image.
Properties
Path
Gets the file path to the image.
Type
Gets the format type of the image.
Declaration
cs-api-definition
public RichTextImageType Type { get; }
Property Value
Methods
ToImageSource()
Converts the current RichTextFileImageSource to an ImageSource.
Declaration
cs-api-definition
public override ImageSource ToImageSource()
Returns
ImageSource
The converted ImageSource.
Overrides