[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.InsertImageAtSelectionAsync

InsertImageAtSelectionAsync Method

InsertImageAtSelectionAsync(Image, string)

Inserts an image at the current cursor position asynchronously.

Declaration
public Task InsertImageAtSelectionAsync(Image img, string altText = "")
Parameters
Type Name Description
Image img

Image to insert.

string altText

Alternative text for image.

Returns
Type Description
Task