Class
RichTextDataImageSource

Reperesents an image source from a data buffer in the RadRichTextEditor.

Definition

Constructors

RichTextDataImageSource(byte[], RichTextImageType)

Initializes a new instance of the RichTextImageSource class.

Declaration

cs-api-definition
public RichTextDataImageSource(byte[] data, RichTextImageType type)

Parameters

data

byte[]

Specifies the data buffer of the image.

type

RichTextImageType

Specifies the format type of the image.

Properties

Data

Gets the data buffer of the image.

Declaration

cs-api-definition
public byte[] Data { get; }

Property Value

byte[]

Type

Gets the format type of the image.

Declaration

cs-api-definition
public RichTextImageType Type { get; }

Property Value

RichTextImageType

Methods

ToImageSource()

Converts the current RichTextDataImageSource to an ImageSource.

Declaration

cs-api-definition
public override ImageSource ToImageSource()

Returns

ImageSource

The converted ImageSource.

Overrides RichTextImageSource.ToImageSource()