HtmlEdit.InsertImageAsync(ImageSource, HtmlSize, HtmlSize) Method
In This Article
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 |
---|---|---|
image |
Image |
The image to insert. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
width | Html |
null | The inserted image’s width. |
height | Html |
null | The inserted image’s height. |
#Returns
Type | Description |
---|---|
Task | A task that allows you to wait for the operation. |
See Also