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