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