EditorWebViewDotnetInterop.EmbedDroppedFileAsImage

Embeds a dropped file as an image. If not an image no action is taken

Also allows manually sending a file with DroppedFile.ToString() as the file parameter.

public Task<bool> EmbedDroppedFileAsImage(string file, bool copyNotMove)

Parameters

file
File name or a JSON serialized DroppedFile object

copyNotMove
If true file is copied and not moved (ie. original file stays)