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
sourcestringthe value of the 'src' attribute of the IMG tag
Returns
- EditorCommand
The EditorCommand instance.
Exceptions
- ArgumentException
Thrown when the
sourceis null, empty or contain only white space.