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
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