Method InsertImage
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
InsertImage(string)
Returns a command that allows inserting an image with the given source
in a WYSIWYG editor.
If the source
points to an invalid location, then image won't be inserted.
public static EditorCommand InsertImage(string source)
Parameters
source
stringthe value of the 'src' attribute of the IMG tag
Returns
- EditorCommand
The EditorCommand instance.
Exceptions
- ArgumentException
Thrown when the
source
is null, empty or contain only white space.