Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlEdit.InsertImageAsync(ImageSource, HtmlSize, HtmlSize) Method

Inserts the specified image with the specified size to the caret position of the HtmlEdit.

Namespace: DevExpress.Maui.HtmlEditor

Assembly: DevExpress.Maui.HtmlEditor.dll

NuGet Package: DevExpress.Maui.HtmlEditor

#Declaration

C#
public Task InsertImageAsync(
    ImageSource imageSource,
    HtmlSize width,
    HtmlSize height
)

#Parameters

Name Type Description
imageSource ImageSource

The image to insert.

#Optional Parameters

Name Type Default Description
width HtmlSize null

The inserted image’s width.

height HtmlSize null

The inserted image’s height.

#Returns

Type Description
Task

A task that allows you to wait for the operation.

See Also